Outputs log statements from within the log4net assembly.
Inheritance Hierarchy
log4net.UtilLogLog
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The LogLog type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LogLog |
Initializes a new instance of the LogLog class.
|
Properties
Name | Description | |
---|---|---|
EmitInternalMessages | ||
Exception |
The Exception related to the message.
| |
InternalDebugging |
Gets or sets a value indicating whether log4net internal logging
is enabled or disabled.
| |
IsDebugEnabled |
Test if LogLog.Debug is enabled for output.
| |
IsErrorEnabled |
Test if LogLog.Error is enabled for output.
| |
IsWarnEnabled |
Test if LogLog.Warn is enabled for output.
| |
Message |
The internal log message.
| |
Prefix |
A string indicating the severity of the internal message.
| |
QuietMode |
Gets or sets a value indicating whether log4net should generate no output
from internal logging, not even for errors.
| |
Source |
The Type that generated the internal message.
| |
TimeStamp |
The DateTime stamp of when the internal message was received.
| |
TimeStampUtc |
The UTC DateTime stamp of when the internal message was received.
|
Methods
Name | Description | |
---|---|---|
Debug(Type, String) |
Writes log4net internal debug messages to the
standard output stream.
| |
Debug(Type, String, Exception) |
Writes log4net internal debug messages to the
standard output stream.
| |
Equals | (Inherited from Object.) | |
Error(Type, String) |
Writes log4net internal error messages to the
standard error stream.
| |
Error(Type, String, Exception) |
Writes log4net internal error messages to the
standard error stream.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
OnLogReceived |
Raises the LogReceived event when an internal messages is received.
| |
ToString |
Formats Prefix, Source, and Message in the same format as the value
sent to Console.Out and Trace.Write.
(Overrides ObjectToString.) | |
Warn(Type, String) |
Writes log4net internal warning messages to the
standard error stream.
| |
Warn(Type, String, Exception) |
Writes log4net internal warning messages to the
standard error stream.
|
Events
Name | Description | |
---|---|---|
LogReceived |
The event raised when an internal message has been received.
|
Remarks
Log4net components cannot make log4net logging calls. However, it is sometimes useful for the user to learn about what log4net is doing.
All log4net internal debug calls go to the standard output stream whereas internal error messages are sent to the standard error output stream.
See Also