Table of Contents

Interface ILogger

Namespace
SLLoggerUtil
Assembly
SLLoggerUtil.dll

Logger interface.

public interface ILogger : ILoggerBase
Inherited Members
Extension Methods

Properties

AdditionalName

Gets the additional name, i.e. something providing more details about the object for which the logger is created, e.g. some subject ID or instance name.

Category

Gets the category for which the logger was created.

IsDebugEnabled

Gets a value indicating whether debug is enabled.

IsErrorEnabled

Gets a value indicating whether error is enabled.

IsFatalEnabled

Gets a value indicating whether fatal is enabled.

IsInfoEnabled

Gets a value indicating whether info is enabled.

IsTraceEnabled

Gets a value indicating whether is trace enabled.

IsWarnEnabled

Gets a value indicating whether warning is enabled.

Methods

BeginScope(ILoggerScope)

Begins a scope so that all logging contained in this scope will be logged if the category for which the scope is started is also enabled.

Debug(string, ILoggerScope, params object[])

Logs a debug message.

Debug(string, params object[])

Logs a debug message.

Error(string, ILoggerScope, params object[])

Logs an error message.

Error(string, params object[])

Logs an info message.

Fatal(string, ILoggerScope, params object[])

Logs a fatal message.

Fatal(string, params object[])

Logs an error message.

Flush()

Performs a flush.

GetTargetsFor(LogLevel, bool)

Gets the targets for the specified log level and scope.

Info(string, ILoggerScope, params object[])

Logs an info message.

Info(string, params object[])

Logs an info message.

Trace(string, ILoggerScope, params object[])

Logs a trace message.

Trace(string, params object[])

Logs a trace message.

Warn(string, ILoggerScope, params object[])

Logs a warning message.

Warn(string, params object[])

Logs a warning message.