download the application please visit www.mrbool.com/player
Title: Java-Logging-Lesson 1-Introduction to logging in a Java application; Logger, Handler, Formatter
Duration: 17 minutes
Summary: This is our first video of using logging in a java application. We start by doing an overview of logging and how it is supported in Java (java.util.logging). Logging provides a way to capture information for debugging, troubleshooting, and auditing. The log levels define the severity of a message. The class Level is used to define which messages should be written to the log. The Log Levels in descending order are: SEVERE (highest), WARNING, INFO, CONFIG, FINE, FINER, FINEST. Logging supports handlers and formatters. As the name implies, handlers export the logging information to a target, like the console or a file. Formatters are tied to handlers and they format the data using a simple format or xml format. In our first example, we start by creating a Logger class and log some severe, warning, and info messages to the console.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Java - Logging.
Keywords:java.util.logging, Logger, getLogger, severe, warning, info, LogRecord, Level, log, logp.












See the prices for this post in Mr.Bool Credits System below: