Click or drag to resize

INeonLogger Interface

Defines the methods and properties for a diagnostics logger.

Namespace:  Neon.Diagnostics
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.2.0
Syntax
public interface INeonLogger

The INeonLogger type exposes the following members.

Properties
  NameDescription
Public propertyContextId
Returns the logger's context ID or null.
Public propertyIsLogCriticalEnabled
Returns true if critical logging is enabled.
Public propertyIsLogDebugEnabled
Returns true if debug logging is enabled.
Public propertyIsLogErrorEnabled
Returns true if error logging is enabled.
Public propertyIsLogInfoEnabled
Returns true if info logging is enabled.
Public propertyIsLogSErrorEnabled
Returns true if serror logging is enabled.
Public propertyIsLogSInfoEnabled
Returns true if sinfo logging is enabled.
Public propertyIsLogTransientEnabled
Returns true if transient logging is enabled.
Public propertyIsLogWarnEnabled
Returns true if warn logging is enabled.
Top
Methods
  NameDescription
Public methodIsLogLevelEnabled
Indicates whether logging is enabled for a specific log level.
Public methodLogCritical(Object, String)
Logs a critical message.
Public methodLogCritical(Object, Exception, String)
Logs a critical message along with exception information.
Public methodLogDebug(Object, String)
Logs a debug message.
Public methodLogDebug(Object, Exception, String)
Logs a debug message along with exception information.
Public methodLogError(Object, String)
Logs an error message.
Public methodLogError(Object, Exception, String)
Logs an error message along with exception information.
Public methodLogInfo(Object, String)
Logs an info message.
Public methodLogInfo(Object, Exception, String)
Logs an info message along with exception information.
Public methodLogSError(Object, String)
Logs an serror message.
Public methodLogSError(Object, Exception, String)
Logs an serror message along with exception information.
Public methodLogSInfo(Object, String)
Logs an sinfo message.
Public methodLogSInfo(Object, Exception, String)
Logs an sinfo message along with exception information.
Public methodLogTransient(Object, String)
Logs a transient message.
Public methodLogTransient(Object, Exception, String)
Logs a transient message along with exception information.
Public methodLogWarn(Object, String)
Logs a warn message.
Public methodLogWarn(Object, Exception, String)
Logs a warn message along with exception information.
Top
Extension Methods
  NameDescription
Public Extension MethodLogCritical(FuncObject)Overloaded.
Logs a critical message retrieved via a message function.
(Defined by LogExtensions.)
Public Extension MethodLogCritical(Exception)Overloaded.
Logs a critical exception.
(Defined by LogExtensions.)
Public Extension MethodLogDebug(FuncObject)Overloaded.
Logs a debug message retrieved via a message function.
(Defined by LogExtensions.)
Public Extension MethodLogDebug(Exception)Overloaded.
Logs a debug exception.
(Defined by LogExtensions.)
Public Extension MethodLogError(FuncObject)Overloaded.
Logs an error message retrieved via a message function.
(Defined by LogExtensions.)
Public Extension MethodLogError(Exception)Overloaded.
Logs an error exception.
(Defined by LogExtensions.)
Public Extension MethodLogInfo(FuncObject)Overloaded.
Logs an informational message retrieved via a message function.
(Defined by LogExtensions.)
Public Extension MethodLogInfo(Exception)Overloaded.
Logs an info exception.
(Defined by LogExtensions.)
Public Extension MethodLogTransient(FuncObject)Overloaded.
Logs a transient message retrieved via a message function.
(Defined by LogExtensions.)
Public Extension MethodLogTransient(Exception)Overloaded.
Logs a transient exception.
(Defined by LogExtensions.)
Public Extension MethodLogWarn(FuncObject)Overloaded.
Logs a warning message retrieved via a message function.
(Defined by LogExtensions.)
Public Extension MethodLogWarn(Exception)Overloaded.
Logs a warning exception.
(Defined by LogExtensions.)
Top
See Also