LogLog ClassApache log4net™ SDK Documentation
Outputs log statements from within the log4net assembly.
Inheritance Hierarchy

SystemObject
  log4net.UtilLogLog

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public sealed class LogLog

The LogLog type exposes the following members.

Constructors

  NameDescription
Public methodLogLog
Initializes a new instance of the LogLog class.
Top
Properties

  NameDescription
Public propertyStatic memberEmitInternalMessages
Public propertyException
The Exception related to the message.
Public propertyStatic memberCode exampleInternalDebugging
Gets or sets a value indicating whether log4net internal logging is enabled or disabled.
Public propertyStatic memberIsDebugEnabled
Test if LogLog.Debug is enabled for output.
Public propertyStatic memberIsErrorEnabled
Test if LogLog.Error is enabled for output.
Public propertyStatic memberIsWarnEnabled
Test if LogLog.Warn is enabled for output.
Public propertyMessage
The internal log message.
Public propertyPrefix
A string indicating the severity of the internal message.
Public propertyStatic memberCode exampleQuietMode
Gets or sets a value indicating whether log4net should generate no output from internal logging, not even for errors.
Public propertySource
The Type that generated the internal message.
Public propertyTimeStamp
The DateTime stamp of when the internal message was received.
Public propertyTimeStampUtc
The UTC DateTime stamp of when the internal message was received.
Top
Methods

  NameDescription
Public methodStatic memberDebug(Type, String)
Writes log4net internal debug messages to the standard output stream.
Public methodStatic memberDebug(Type, String, Exception)
Writes log4net internal debug messages to the standard output stream.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberError(Type, String)
Writes log4net internal error messages to the standard error stream.
Public methodStatic memberError(Type, String, Exception)
Writes log4net internal error messages to the standard error stream.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberOnLogReceived
Raises the LogReceived event when an internal messages is received.
Public methodToString
Formats Prefix, Source, and Message in the same format as the value sent to Console.Out and Trace.Write.
(Overrides ObjectToString.)
Public methodStatic memberWarn(Type, String)
Writes log4net internal warning messages to the standard error stream.
Public methodStatic memberWarn(Type, String, Exception)
Writes log4net internal warning messages to the standard error stream.
Top
Events

  NameDescription
Public eventStatic memberLogReceived
The event raised when an internal message has been received.
Top
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

Reference