Click or drag to resize

ILogger Interface

Manages logging.

Namespace:  PDTec.IceNet.Core.Runtime
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public interface ILogger

The ILogger type exposes the following members.

Properties
  NameDescription
Public propertyIsDebugEnabled
Determines if messages of priority "debug" will be logged.
Public propertyIsErrorEnabled
Determines if messages of priority "error" will be logged.
Public propertyIsFatalEnabled
Determines if messages of priority "fatal" will be logged.
Public propertyIsInfoEnabled
Determines if messages of priority "info" will be logged.
Public propertyIsWarnEnabled
Determines if messages of priority "warn" will be logged.
Top
Methods
  NameDescription
Public methodCreateChildLogger
Create a new child logger. The name of the child logger is [current-loggers-name].[passed-in-name]
Public methodDebug(String)
Logs a debug message.
Public methodDebug(String, Exception)
Logs a debug message.
Public methodDebugFormat(String, Object)
Logs a debug message.
Public methodDebugFormat(Exception, String, Object)
Logs a debug message.
Public methodDebugFormat(IFormatProvider, String, Object)
Logs a debug message.
Public methodDebugFormat(Exception, IFormatProvider, String, Object)
Logs a debug message.
Public methodError(String)
Logs an error message.
Public methodError(String, Exception)
Logs an error message.
Public methodErrorFormat(String, Object)
Logs an error message.
Public methodErrorFormat(Exception, String, Object)
Logs an error message.
Public methodErrorFormat(IFormatProvider, String, Object)
Logs an error message.
Public methodErrorFormat(Exception, IFormatProvider, String, Object)
Logs an error message.
Public methodFatal(String)
Logs a fatal message.
Public methodFatal(String, Exception)
Logs a fatal message.
Public methodFatalFormat(String, Object)
Logs a fatal message.
Public methodFatalFormat(Exception, String, Object)
Logs a fatal message.
Public methodFatalFormat(IFormatProvider, String, Object)
Logs a fatal message.
Public methodFatalFormat(Exception, IFormatProvider, String, Object)
Logs a fatal message.
Public methodInfo(String)
Logs an info message.
Public methodInfo(String, Exception)
Logs an info message.
Public methodInfoFormat(String, Object)
Logs an info message.
Public methodInfoFormat(Exception, String, Object)
Logs an info message.
Public methodInfoFormat(IFormatProvider, String, Object)
Logs an info message.
Public methodInfoFormat(Exception, IFormatProvider, String, Object)
Logs an info message.
Public methodIsLoggingEnabled
Determines if messages of the specified priority level will be logged.
Public methodLog(LogLevel, String)
Logs a message.
Public methodLog(LogLevel, String, Exception)
Logs a message.
Public methodLogFormat(LogLevel, String, Object)
Logs a message.
Public methodLogFormat(LogLevel, Exception, String, Object)
Logs a message.
Public methodLogFormat(LogLevel, IFormatProvider, String, Object)
Logs a message.
Public methodLogFormat(LogLevel, Exception, IFormatProvider, String, Object)
Logs a message.
Public methodWarn(String)
Logs a warn message.
Public methodWarn(String, Exception)
Logs a warn message.
Public methodWarnFormat(String, Object)
Logs a warn message.
Public methodWarnFormat(Exception, String, Object)
Logs a warn message.
Public methodWarnFormat(IFormatProvider, String, Object)
Logs a warn message.
Public methodWarnFormat(Exception, IFormatProvider, String, Object)
Logs a warn message.
Top
Remarks
This is a facade for the different logging subsystems. It offers a simplified interface that follows IOC patterns and a simplified priority/level/severity abstraction.
See Also