The properties of the Logger class are listed below. For a complete list of Logger class members, see the Logger Members topic.
![]() CurrentLevel | Set all loggers to this 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. |
DebugEnabled | Is debug logging enabled? |
ErrorEnabled | Is error logging enabled? |
InfoEnabled | Is info logging enabled for the supplied level? |