The Logger type exposes the following members.
Properties
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. |