Méthode | Description | |
---|---|---|
Debug ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Debug level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Debug ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Debug level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Debug ( System.Action |
Log a message with the LogLevel.Debug level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Debug ( System.Action |
Log a message with the LogLevel.Debug level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Debug ( object message ) : void |
Log a message object with the LogLevel.Debug level.
|
|
Debug ( object message, |
Log a message object with the LogLevel.Debug level including the stack Debug of the Exception passed as a parameter.
|
|
Error ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Error level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Error ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Error level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Error ( System.Action |
Log a message with the LogLevel.Error level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Error ( System.Action |
Log a message with the LogLevel.Error level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Error ( object message ) : void |
Log a message object with the LogLevel.Error level.
|
|
Error ( object message, |
Log a message object with the LogLevel.Error level including the stack Error of the Exception passed as a parameter.
|
|
Fatal ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Fatal level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Fatal ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Fatal level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Fatal ( System.Action |
Log a message with the LogLevel.Fatal level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Fatal ( System.Action |
Log a message with the LogLevel.Fatal level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Fatal ( object message ) : void |
Log a message object with the LogLevel.Fatal level.
|
|
Fatal ( object message, |
Log a message object with the LogLevel.Fatal level including the stack Fatal of the Exception passed as a parameter.
|
|
Info ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Info level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Info ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Info level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Info ( System.Action |
Log a message with the LogLevel.Info level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Info ( System.Action |
Log a message with the LogLevel.Info level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Info ( object message ) : void |
Log a message object with the LogLevel.Info level.
|
|
Info ( object message, |
Log a message object with the LogLevel.Info level including the stack Info of the Exception passed as a parameter.
|
|
Trace ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Trace level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Trace ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Trace level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Trace ( System.Action |
Log a message with the LogLevel.Trace level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Trace ( System.Action |
Log a message with the LogLevel.Trace level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Trace ( object message ) : void |
Log a message object with the LogLevel.Trace level.
|
|
Trace ( object message, |
Log a message object with the LogLevel.Trace level including the stack trace of the Exception passed as a parameter.
|
|
Warn ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Warn level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Warn ( IFormatProvider formatProvider, System.Action |
Log a message with the LogLevel.Warn level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Warn ( System.Action |
Log a message with the LogLevel.Warn level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Warn ( System.Action |
Log a message with the LogLevel.Warn level using a callback to obtain the message Using this method avoids the cost of creating a message and evaluating message arguments that probably won't be logged due to loglevel settings. |
|
Warn ( object message ) : void |
Log a message object with the LogLevel.Warn level.
|
|
Warn ( object message, |
Log a message object with the LogLevel.Warn level including the stack Warn of the Exception passed as a parameter.
|
Méthode | Description | |
---|---|---|
AbstractLogger ( ) : System |
Creates a new logger instance using WriteInternal for writing log events to the underlying log system.
|
|
GetWriteHandler ( ) : WriteHandler |
Override this method to use a different method than WriteInternal for writing log events to the underlying log system. Usually you don't need to override thise method. The default implementation returns |
|
WriteInternal ( LogLevel level, object message, |
Actually sends the message to the underlying log system.
|
Méthode | Description | |
---|---|---|
DebugFormat ( IFormatProvider formatProvider, string format ) : void | ||
DebugFormat ( IFormatProvider formatProvider, string format, |
||
DebugFormat ( string format ) : void | ||
DebugFormat ( string format, |
||
ErrorFormat ( IFormatProvider formatProvider, string format ) : void | ||
ErrorFormat ( IFormatProvider formatProvider, string format, |
||
ErrorFormat ( string format ) : void | ||
ErrorFormat ( string format, |
||
FatalFormat ( IFormatProvider formatProvider, string format ) : void | ||
FatalFormat ( IFormatProvider formatProvider, string format, |
||
FatalFormat ( string format ) : void | ||
FatalFormat ( string format, |
||
InfoFormat ( IFormatProvider formatProvider, string format ) : void | ||
InfoFormat ( IFormatProvider formatProvider, string format, |
||
InfoFormat ( string format ) : void | ||
InfoFormat ( string format, |
||
TraceFormat ( IFormatProvider formatProvider, string format ) : void | ||
TraceFormat ( IFormatProvider formatProvider, string format, |
||
TraceFormat ( string format ) : void | ||
TraceFormat ( string format, |
||
WarnFormat ( IFormatProvider formatProvider, string format ) : void | ||
WarnFormat ( IFormatProvider formatProvider, string format, |
||
WarnFormat ( string format ) : void | ||
WarnFormat ( string format, |
public Debug ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Debug ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Debug. | |
Résultat | void |
public Debug ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Debug ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Debug. | |
Résultat | void |
public Debug ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public Debug ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack Debug. | |
Résultat | void |
public Error ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Error ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Error. | |
Résultat | void |
public Error ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Error ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Error. | |
Résultat | void |
public Error ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public Error ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack Error. | |
Résultat | void |
public Fatal ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Fatal ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Fatal. | |
Résultat | void |
public Fatal ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Fatal ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Fatal. | |
Résultat | void |
public Fatal ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public Fatal ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack Fatal. | |
Résultat | void |
protected GetWriteHandler ( ) : WriteHandler | ||
Résultat | WriteHandler |
public Info ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Info ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Info. | |
Résultat | void |
public Info ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Info ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Info. | |
Résultat | void |
public Info ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public Info ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack Info. | |
Résultat | void |
public Trace ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Trace ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public Trace ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Trace ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public Trace ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public Trace ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public Warn ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Warn ( IFormatProvider formatProvider, System.Action |
||
formatProvider | IFormatProvider | An |
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Warn. | |
Résultat | void |
public Warn ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
Résultat | void |
public Warn ( System.Action |
||
formatMessageCallback | System.Action |
A callback used by the logger to obtain the message if log level is matched |
exception | The exception to log, including its stack Warn. | |
Résultat | void |
public Warn ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public Warn ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack Warn. | |
Résultat | void |
protected abstract WriteInternal ( LogLevel level, object message, |
||
level | LogLevel | the level of this log event. |
message | object | the message to log |
exception | the exception to log (may be null) | |
Résultat | void |