LogLevelCache
Ecng.Logging
Shared invalidation stamp for the effective level cached by BaseLogSource.
Propriedades
Current
public static LogLevelEntry[] Current { get; }
value = LogLevelCache.Current
The current set. An entry from it was computed from a chain that has not changed since.
Métodos
Entry
public static LogLevelEntry Entry(LogLevelEntry[] set, LogLevels level)
result = LogLevelCache.Entry(set, level)
The entry standing for in .
- set
- The set to take the entry from.
- level
- The effective level.
Retorna: The entry.
Invalidate
public static void Invalidate()
LogLevelCache.Invalidate()
Invalidate every cached level.
IsCacheable
public static bool IsCacheable(Type type)
result = LogLevelCache.IsCacheable(type)
Whether a source of may cache its effective level.
- type
- The runtime type of the source.
Retorna: if the type keeps both guarded properties in BaseLogSource.