what are the logging methods provided by logger class?
Answer / Gaurav Kumar
The logger class provides several logging methods for different severity levels, such as trace (TRCE), debug (DBUG), info (INFO), warn (WARN), error (EROR), and fatal (FATAL). These methods allow you to log messages based on the desired level of detail and urgency.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain whether a log output format can be customized?
what are Appenders in Log4j?
Explain whether log4j is a thread safe?
what are the logging methods provided by logger class?
what are the system properties checked by log4j?
what is Log4j?
what are the other support objects in Log4j?
Inside logger component what are the different log levels?
what does WARN and TRACE level indicates in log4j?
why do you get multiple copies of the message in log file sometime?
what is the command to write your logging information into a file?
what are the two static methods for obtaining a logger object?