Virtual PhotonicsThe ILogger type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
CreateChildLogger |
Create a new child logger.
The name of the child logger is [current-loggers-name].[passed-in-name]
| |
Debug(Func String ) |
Logs a debug message with lazily constructed message. The message will be constructed only if the IsDebugEnabled is true.
| |
Debug(String) |
Logs a debug message.
| |
Debug(String, Exception) |
Logs a debug message.
| |
DebugFormat(String, Object ) |
Logs a debug message.
| |
DebugFormat(Exception, String, Object ) |
Logs a debug message.
| |
DebugFormat(IFormatProvider, String, Object ) |
Logs a debug message.
| |
DebugFormat(Exception, IFormatProvider, String, Object ) |
Logs a debug message.
| |
Error(Func String ) |
Logs an error message with lazily constructed message. The message will be constructed only if the IsErrorEnabled is true.
| |
Error(String) |
Logs an error message.
| |
Error(String, Exception) |
Logs an error message.
| |
ErrorFormat(String, Object ) |
Logs an error message.
| |
ErrorFormat(Exception, String, Object ) |
Logs an error message.
| |
ErrorFormat(IFormatProvider, String, Object ) |
Logs an error message.
| |
ErrorFormat(Exception, IFormatProvider, String, Object ) |
Logs an error message.
| |
Fatal(Func String ) |
Logs a fatal message with lazily constructed message. The message will be constructed only if the IsFatalEnabled is true.
| |
Fatal(String) |
Logs a fatal message.
| |
Fatal(String, Exception) |
Logs a fatal message.
| |
FatalFormat(String, Object ) |
Logs a fatal message.
| |
FatalFormat(Exception, String, Object ) |
Logs a fatal message.
| |
FatalFormat(IFormatProvider, String, Object ) |
Logs a fatal message.
| |
FatalFormat(Exception, IFormatProvider, String, Object ) |
Logs a fatal message.
| |
Info(Func String ) |
Logs a info message with lazily constructed message. The message will be constructed only if the IsInfoEnabled is true.
| |
Info(String) |
Logs an info message.
| |
Info(String, Exception) |
Logs an info message.
| |
InfoFormat(String, Object ) |
Logs an info message.
| |
InfoFormat(Exception, String, Object ) |
Logs an info message.
| |
InfoFormat(IFormatProvider, String, Object ) |
Logs an info message.
| |
InfoFormat(Exception, IFormatProvider, String, Object ) |
Logs an info message.
| |
Warn(Func String ) |
Logs a warn message with lazily constructed message. The message will be constructed only if the IsWarnEnabled is true.
| |
Warn(String) |
Logs a warn message.
| |
Warn(String, Exception) |
Logs a warn message.
| |
WarnFormat(String, Object ) |
Logs a warn message.
| |
WarnFormat(Exception, String, Object ) |
Logs a warn message.
| |
WarnFormat(IFormatProvider, String, Object ) |
Logs a warn message.
| |
WarnFormat(Exception, IFormatProvider, String, Object ) |
Logs a warn message.
|
Properties
Name | Description | |
---|---|---|
IsDebugEnabled |
Determines if messages of priority "debug" will be logged.
| |
IsErrorEnabled |
Determines if messages of priority "error" will be logged.
| |
IsFatalEnabled |
Determines if messages of priority "fatal" will be logged.
| |
IsInfoEnabled |
Determines if messages of priority "info" will be logged.
| |
IsWarnEnabled |
Determines if messages of priority "warn" will be logged.
|
See Also