Class NoLogger
This class represents an ILoggingAdapter implementation used when messages are to be dropped instead of logged.
Assembly: Akka.dll
Syntax
public sealed class NoLogger : ILoggingAdapter
Fields
|
Improve this Doc
View Source
Instance
Retrieves a singleton instance of the NoLogger class.
Declaration
public static readonly ILoggingAdapter Instance
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public ILogMessageFormatter Formatter { get; }
Property Value
|
Improve this Doc
View Source
IsDebugEnabled
Check to determine whether the DebugLevel is enabled.
Declaration
public bool IsDebugEnabled { get; }
Property Value
|
Improve this Doc
View Source
IsErrorEnabled
Check to determine whether the ErrorLevel is enabled.
Declaration
public bool IsErrorEnabled { get; }
Property Value
|
Improve this Doc
View Source
IsInfoEnabled
Check to determine whether the InfoLevel is enabled.
Declaration
public bool IsInfoEnabled { get; }
Property Value
|
Improve this Doc
View Source
IsWarningEnabled
Declaration
public bool IsWarningEnabled { get; }
Property Value
Methods
|
Improve this Doc
View Source
IsEnabled(LogLevel)
Determines whether a specific log level is enabled.
Declaration
public bool IsEnabled(LogLevel logLevel)
Parameters
Type |
Name |
Description |
LogLevel |
logLevel |
The log level that is being checked.
|
Returns
Type |
Description |
Boolean |
true if the specified level is enabled; otherwise false .
|
|
Improve this Doc
View Source
Log(LogLevel, Exception, LogMessage)
Declaration
public void Log(LogLevel logLevel, Exception cause, LogMessage message)
Parameters
|
Improve this Doc
View Source
Log(LogLevel, Exception, String)
Declaration
public void Log(LogLevel logLevel, Exception cause, string format)
Parameters
Implements
Extension Methods
LoggingExtensions.Log<T1, T2, T3, T4>(ILoggingAdapter, LogLevel, Exception, String, T1, T2, T3, T4)
LoggingExtensions.Log<T1, T2, T3, T4, T5>(ILoggingAdapter, LogLevel, Exception, String, T1, T2, T3, T4, T5)
LoggingExtensions.Log<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, LogLevel, Exception, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Debug<T1, T2, T3, T4, T5>(ILoggingAdapter, String, T1, T2, T3, T4, T5)
LoggingExtensions.Debug<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5)
LoggingExtensions.Debug<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Debug<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Info<T1, T2, T3, T4, T5>(ILoggingAdapter, String, T1, T2, T3, T4, T5)
LoggingExtensions.Info<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5)
LoggingExtensions.Info<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Info<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Warning<T1, T2, T3, T4, T5>(ILoggingAdapter, String, T1, T2, T3, T4, T5)
LoggingExtensions.Warning<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5)
LoggingExtensions.Warning<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Warning<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Error<T1, T2, T3, T4, T5>(ILoggingAdapter, String, T1, T2, T3, T4, T5)
LoggingExtensions.Error<T1, T2, T3, T4, T5>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5)
LoggingExtensions.Error<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, String, T1, T2, T3, T4, T5, T6)
LoggingExtensions.Error<T1, T2, T3, T4, T5, T6>(ILoggingAdapter, Exception, String, T1, T2, T3, T4, T5, T6)