Logger Class |
Namespace: EnterpriseDT.Util.Debug
The Logger type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CurrentLevel |
Set all loggers to this level
|
![]() | DebugEnabled |
Is debug logging enabled?
|
![]() | ErrorEnabled |
Is error logging enabled?
|
![]() | InfoEnabled | Is info logging enabled for the supplied level?
|
![]() ![]() | LogToConsole |
If this property is true then logs will be written to the
console.
|
![]() ![]() | LogToTrace |
If this property is true then logs will be written using
Trace.
|
![]() ![]() | PrimaryLogFile |
The primary log file is simply the first file appender
that has been added to the logger.
|
![]() ![]() | ShowClassNames | If true then class-names will be shown in log. |
![]() ![]() | ShowTimestamp | If true then timestamps will be shown in log. |
Name | Description | |
---|---|---|
![]() ![]() | AddAppender |
Add an appender to our list
|
![]() ![]() | ClearAppenders | Close and remove all appenders |
![]() ![]() | ClearTag | |
![]() | Debug(String) | Log a debug level message
|
![]() | Debug(String, Exception) | Log a debug level message
|
![]() | Debug(String, Object) | Log a debug level message |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Error(Exception) | Log an error level message
|
![]() | Error(String) | Log an error level message
|
![]() | Error(String, Exception) | Log an error level message
|
![]() | Error(String, Exception, Object) | Log an error level message |
![]() | Fatal(String) | Log a fatal level message
|
![]() | Fatal(String, Exception) | Log a fatal level message
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetLogger(String) |
Get a logger for the supplied class
|
![]() ![]() | GetLogger(Type) | Get a logger for the supplied class
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Info(String) | Log an info level message
|
![]() | Info(String, Exception) | Log an info level message
|
![]() | Info(String, Object) | Log an info level message
|
![]() | IsEnabledFor | Is logging enabled for the supplied level?
|
![]() | Log |
Log a message using the given level.
|
![]() | LogObject |
Logs the public properties of an object.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | RemoveAppender |
Remove an appender from our list
|
![]() ![]() | SetTag | |
![]() ![]() | Shutdown | Close and remove all appenders and loggers |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Warn(String) | Log a warning level message
|
![]() | Warn(String, Exception) | Log a warning level message
|
![]() | Warn(String, Exception, Object) | Log an warning level message |
Name | Description | |
---|---|---|
![]() ![]() | LogMessageReceived |
If this event is set then all logging events are directed to the
event as well as the loggers.
|