LogLog Class | Apache log4net™ SDK Documentation

Outputs log statements from within the log4net assembly.
Inheritance Hierarchy

System
Object
log4net.Util
LogLog

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

C#
VB
C++
F#
Copy

    public sealed class LogLog

    Public NotInheritable Class LogLog

    public ref class LogLog sealed

    [<SealedAttribute>]
    type LogLog =  class end

The LogLog type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| LogLog | Initializes a new instance of the LogLog class.

Top
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.

Top
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 | Determines whether the specified Object is equal to the current Object. (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 Object ToString .)
| 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.

Top
Events

| Name | Description
--- | --- | ---
| LogReceived | 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

log4net.Util Namespace