Méthode | Description | |
---|---|---|
Debug ( object message ) : void |
Log a message object with the Level.Debug level. This method first checks if this logger is WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Debug(object,Exception) form instead. |
|
Debug ( object message, |
Log a message object with the Level.Debug level including the stack trace of the Exception passed as a parameter. See the Debug(object) form for more detailed information. |
|
DebugFormat ( string format ) : void |
Logs a formatted message string with the Level.Debug level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug(object,Exception) methods instead. |
|
DebugFormat ( string format, object arg0 ) : void |
Logs a formatted message string with the Level.Debug level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug(object,Exception) methods instead. |
|
DebugFormat ( string format, object arg0, object arg1 ) : void |
Logs a formatted message string with the Level.Debug level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug(object,Exception) methods instead. |
|
DebugFormat ( string format, object arg0, object arg1, object arg2 ) : void |
Logs a formatted message string with the Level.Debug level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Debug(object,Exception) methods instead. |
|
Error ( object message ) : void |
Logs a message object with the Level.Error level. This method first checks if this logger is WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Error(object,Exception) form instead. |
|
Error ( object message, |
Log a message object with the Level.Error level including the stack trace of the Exception passed as a parameter. See the Error(object) form for more detailed information. |
|
ErrorFormat ( string format ) : void |
Logs a formatted message string with the Level.Error level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error(object) methods instead. |
|
ErrorFormat ( string format, object arg0 ) : void |
Logs a formatted message string with the Level.Error level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error(object,Exception) methods instead. |
|
ErrorFormat ( string format, object arg0, object arg1 ) : void |
Logs a formatted message string with the Level.Error level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error(object,Exception) methods instead. |
|
ErrorFormat ( string format, object arg0, object arg1, object arg2 ) : void |
Logs a formatted message string with the Level.Error level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Error(object,Exception) methods instead. |
|
Fatal ( object message ) : void |
Log a message object with the Level.Fatal level. This method first checks if this logger is WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Fatal(object,Exception) form instead. |
|
Fatal ( object message, |
Log a message object with the Level.Fatal level including the stack trace of the Exception passed as a parameter. See the Fatal(object) form for more detailed information. |
|
FatalFormat ( string format ) : void |
Logs a formatted message string with the Level.Fatal level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal(object) methods instead. |
|
FatalFormat ( string format, object arg0 ) : void |
Logs a formatted message string with the Level.Fatal level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal(object,Exception) methods instead. |
|
FatalFormat ( string format, object arg0, object arg1 ) : void |
Logs a formatted message string with the Level.Fatal level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal(object,Exception) methods instead. |
|
FatalFormat ( string format, object arg0, object arg1, object arg2 ) : void |
Logs a formatted message string with the Level.Fatal level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Fatal(object,Exception) methods instead. |
|
Info ( object message ) : void |
Logs a message object with the Level.Info level. This method first checks if this logger is WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Info(object,Exception) form instead. |
|
Info ( object message, |
Logs a message object with the See the Info(object) form for more detailed information. |
|
InfoFormat ( string format ) : void |
Logs a formatted message string with the Level.Info level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info(object) methods instead. |
|
InfoFormat ( string format, object arg0 ) : void |
Logs a formatted message string with the Level.Info level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info(object,Exception) methods instead. |
|
InfoFormat ( string format, object arg0, object arg1 ) : void |
Logs a formatted message string with the Level.Info level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info(object,Exception) methods instead. |
|
InfoFormat ( string format, object arg0, object arg1, object arg2 ) : void |
Logs a formatted message string with the Level.Info level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Info(object,Exception) methods instead. |
|
Warn ( object message ) : void |
Log a message object with the Level.Warn level. This method first checks if this logger is WARNING Note that passing an Exception to this method will print the name of the Exception but no stack trace. To print a stack trace use the Warn(object,Exception) form instead. |
|
Warn ( object message, |
Log a message object with the Level.Warn level including the stack trace of the Exception passed as a parameter. See the Warn(object) form for more detailed information. |
|
WarnFormat ( string format ) : void |
Logs a formatted message string with the Level.Warn level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn(object) methods instead. |
|
WarnFormat ( string format, object arg0 ) : void |
Logs a formatted message string with the Level.Warn level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn(object,Exception) methods instead. |
|
WarnFormat ( string format, object arg0, object arg1 ) : void |
Logs a formatted message string with the Level.Warn level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn(object,Exception) methods instead. |
|
WarnFormat ( string format, object arg0, object arg1, object arg2 ) : void |
Logs a formatted message string with the Level.Warn level. The message is formatted using the This method does not take an Exception object to include in the log event. To pass an Exception use one of the Warn(object,Exception) methods instead. |
Méthode | Description | |
---|---|---|
Create ( |
Creates an additional logger on demand for a subsection of the application.
|
|
Create ( string name ) : ILog |
Creates an additional logger on demand for a subsection of the application.
|
|
InitializeFacade ( string name ) : ILog |
Discovers the presence of Log4net.dll and other logging mechanisms and returns the best available logger.
|
public static Debug ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public static Debug ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public static DebugFormat ( string format ) : void | ||
format | string | A String containing zero or more format items |
Résultat | void |
public static DebugFormat ( string format, object arg0 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
Résultat | void |
public static DebugFormat ( string format, object arg0, object arg1 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
Résultat | void |
public static DebugFormat ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
arg2 | object | An Object to format |
Résultat | void |
public static Error ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public static Error ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public static ErrorFormat ( string format ) : void | ||
format | string | A String containing zero or more format items |
Résultat | void |
public static ErrorFormat ( string format, object arg0 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
Résultat | void |
public static ErrorFormat ( string format, object arg0, object arg1 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
Résultat | void |
public static ErrorFormat ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
arg2 | object | An Object to format |
Résultat | void |
public static Fatal ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public static Fatal ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public static FatalFormat ( string format ) : void | ||
format | string | A String containing zero or more format items |
Résultat | void |
public static FatalFormat ( string format, object arg0 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
Résultat | void |
public static FatalFormat ( string format, object arg0, object arg1 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
Résultat | void |
public static FatalFormat ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
arg2 | object | An Object to format |
Résultat | void |
public static Info ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public static Info ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public static InfoFormat ( string format ) : void | ||
format | string | A String containing zero or more format items |
Résultat | void |
public static InfoFormat ( string format, object arg0 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
Résultat | void |
public static InfoFormat ( string format, object arg0, object arg1 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
Résultat | void |
public static InfoFormat ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
arg2 | object | An Object to format |
Résultat | void |
public static Warn ( object message ) : void | ||
message | object | The message object to log. |
Résultat | void |
public static Warn ( object message, |
||
message | object | The message object to log. |
exception | The exception to log, including its stack trace. | |
Résultat | void |
public static WarnFormat ( string format ) : void | ||
format | string | A String containing zero or more format items |
Résultat | void |
public static WarnFormat ( string format, object arg0 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
Résultat | void |
public static WarnFormat ( string format, object arg0, object arg1 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
Résultat | void |
public static WarnFormat ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A String containing zero or more format items |
arg0 | object | An Object to format |
arg1 | object | An Object to format |
arg2 | object | An Object to format |
Résultat | void |