Common Logging 2.0 API Reference

AbstractSimpleLogger Properties

The properties of the AbstractSimpleLogger class are listed below. For a complete list of AbstractSimpleLogger class members, see the AbstractSimpleLogger Members topic.

Public Instance Properties

CurrentLogLevel The current logging threshold. Messages recieved that are beneath this threshold will not be logged.
DateTimeFormat The date and time format to use in the log message.
HasDateTimeFormat Determines Whether DateTimeFormat is set.
IsDebugEnabled Returns true if the current LogLevel is greater than or equal to Debug. If it is, all messages will be sent to Out.
IsErrorEnabled Returns true if the current LogLevel is greater than or equal to Error. If it is, only messages with a LogLevel of Error and Fatal will be sent to Out.
IsFatalEnabled Returns true if the current LogLevel is greater than or equal to Fatal. If it is, only messages with a LogLevel of Fatal will be sent to Out.
IsInfoEnabled Returns true if the current LogLevel is greater than or equal to Info. If it is, only messages with a LogLevel of Info, Warn, Error, and Fatal will be sent to Out.
IsTraceEnabled Returns true if the current LogLevel is greater than or equal to Trace. If it is, all messages will be sent to Out.
IsWarnEnabled Returns true if the current LogLevel is greater than or equal to Warn. If it is, only messages with a LogLevel of Warn, Error, and Fatal will be sent to Out.
Name The name of the logger.
ShowDateTime Include the current time in the log message.
ShowLevel Include the current log level in the log message.
ShowLogName Include the instance name in the log message.

See Also

AbstractSimpleLogger Class | Common.Logging.Simple Namespace