Logger: Logger is the class of java.util.logging package that extends the Object class. Java provides logging APIs like: Logger, Level, Handler etc. for implementing logging features in your java application. It is a part of J2SE (Java 2 Standard Edition). When you go to create java logging program then first of all need a Logger object. The Logger object contains log messages. Logger has one or more handler that performs log records. A logger object used for logging messages for individual system or an application component that can be derived by getLogger methods. Java logging provides a way to contain multiple types of message like: warning, info, severe etc. for an application. These information or messages can be used for many purposes but it is specially used for debugging, troubleshooting and auditing.
There are following levels in descending order:
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial