Class NullLogger
An null logger, doesn't log anything! This can be used to shut-up certain LogSources
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Dapplo.Log
Assembly:Dapplo.Log.dll
Syntax
public class NullLogger : AbstractLogger, ILogger, ILoggerConfiguration
Methods
| Improve this Doc View SourceIsLogLevelEnabled(LogLevels, LogSource)
Always returns false, there is no logging
Declaration
public override bool IsLogLevelEnabled(LogLevels level, LogSource logSource = null)
Parameters
Type | Name | Description |
---|---|---|
LogLevels | level | LogLevel |
LogSource | logSource | optional LogSource |
Returns
Type | Description |
---|---|
System.Boolean | false |