Common Logging 2.0 API Reference

ConsoleOutLogger Members

ConsoleOutLogger overview

Public Instance Constructors

ConsoleOutLogger Constructor Creates and initializes a logger that writes messages to Out.

Public Instance Properties

CurrentLogLevel (inherited from AbstractSimpleLogger) The current logging threshold. Messages recieved that are beneath this threshold will not be logged.
DateTimeFormat (inherited from AbstractSimpleLogger) The date and time format to use in the log message.
HasDateTimeFormat (inherited from AbstractSimpleLogger) Determines Whether DateTimeFormat is set.
IsDebugEnabled (inherited from AbstractSimpleLogger) Returns true if the current LogLevel is greater than or equal to Debug. If it is, all messages will be sent to Out.
IsErrorEnabled (inherited from AbstractSimpleLogger) 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 (inherited from AbstractSimpleLogger) 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 (inherited from AbstractSimpleLogger) 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 (inherited from AbstractSimpleLogger) Returns true if the current LogLevel is greater than or equal to Trace. If it is, all messages will be sent to Out.
IsWarnEnabled (inherited from AbstractSimpleLogger) 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 (inherited from AbstractSimpleLogger) The name of the logger.
ShowDateTime (inherited from AbstractSimpleLogger) Include the current time in the log message.
ShowLevel (inherited from AbstractSimpleLogger) Include the current log level in the log message.
ShowLogName (inherited from AbstractSimpleLogger) Include the instance name in the log message.

Public Instance Methods

Debug (inherited from AbstractLogger)Overloaded. Log a message object with the Debug level.
DebugFormat (inherited from AbstractLogger)Overloaded. Log a message with the Debug level.
Equals (inherited from Object) 
Error (inherited from AbstractLogger)Overloaded. Log a message object with the Error level.
ErrorFormat (inherited from AbstractLogger)Overloaded. Log a message with the Error level.
Fatal (inherited from AbstractLogger)Overloaded. Log a message object with the Fatal level.
FatalFormat (inherited from AbstractLogger)Overloaded. Log a message with the Fatal level.
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
Info (inherited from AbstractLogger)Overloaded. Log a message object with the Info level.
InfoFormat (inherited from AbstractLogger)Overloaded. Log a message with the Info level.
ToString (inherited from Object) 
Trace (inherited from AbstractLogger)Overloaded. Log a message object with the Trace level.
TraceFormat (inherited from AbstractLogger)Overloaded. Log a message with the Trace level.
Warn (inherited from AbstractLogger)Overloaded. Log a message object with the Warn level.
WarnFormat (inherited from AbstractLogger)Overloaded. Log a message with the Warn level.

Protected Instance Methods

Finalize (inherited from Object) 
FormatOutput (inherited from AbstractSimpleLogger) Appends the formatted message to the specified StringBuilder.
GetWriteHandler (inherited from AbstractLogger) Override this method to use a different method than WriteInternal for writing log events to the underlying log system.
IsLevelEnabled (inherited from AbstractSimpleLogger) Determines if the given log level is currently enabled.
MemberwiseClone (inherited from Object) 
WriteInternal Do the actual logging by constructing the log message using a StringBuilder then sending the output to Out.

See Also

ConsoleOutLogger Class | Common.Logging.Simple Namespace