Skip to content

Tag Archives: Java-Logger

The log() method of Logger is used to Log a message. If the logger is currently enabled for the given message level which is passed… Read More
The getAnonymousLogger() method of a Logger class used to create an anonymous Logger. There are two types of getAnonymousLogger() method depending upon no of the… Read More
The getLogger() method of a Logger class used find or create a logger. If there is a logger exists with the passed name then the… Read More
The exiting() method of a Logger class used to Log a method return. There are two types of exiting() method depending upon the parameters passed.Attention… Read More
throwing(String sourceClass, String sourceMethod, Throwable thrown) method is used to Log throwing an exception.In many scenario method is closed by throwing an exception then this… Read More
The entering() method of a Logger class used to Log a method entry. There are three types of entering() method depending upon the parameters passed.Attention… Read More
The finest() method of a Logger class used to Log an FINEST message.This method is used to pass FINEST types logs to all the registered… Read More
The severe() method of a Logger class used to Log a SEVERE message.This method is used to pass SEVERE types logs to all the registered… Read More
The warning() method of a Logger class used to Log a WARNING message.This method is used to pass WARNING types logs to all the registered… Read More
The info() method of a Logger class used to Log an INFO message.This method is used to forward logs to all the registered output Handler… Read More
The fine() method of a Logger class used to Log a FINE message. This method is used to pass FINE types logs to all the… Read More
The config() method of a Logger class used to Log an config message. This method is used to pass config types logs to all the… Read More
getResourceBundleName() method of a Logger class is used to retrieve the localization resource bundle name for this logger.We can set ResourceBundle either by the setResourceBundle… Read More
setLevel() method of a Logger class used to set the log level to describe which message levels will be logged by this logger. The level… Read More
removeHandler() method of a Logger class is used to remove a log Handler from Logger. A Handler is a component of JVM that takes care… Read More