Click or drag to resize
LoggerCacheTKey, TLoggerGetOrAdd Method

[This is preliminary documentation and is subject to change.]

Gets or adds a logger.

Namespace: Yalla
Assembly: Yalla (in Yalla.dll) Version: 1.0.5813.3073
Syntax
public TLogger GetOrAdd(
	TKey key,
	Func<TKey, TLogger> createLogger
)

Parameters

key
Type: TKey
Key.
createLogger
Type: SystemFuncTKey, TLogger
Logger factory method.

Return Value

Type: TLogger
Logger.

Implements

ILoggerCacheTKey, TLoggerGetOrAdd(TKey, FuncTKey, TLogger)
See Also