Login:  Password:    
forgot my password
sign up!
Search: 
 
  This post is part of:
    Online course(s):   
 Java Complete Course-Programming fundamental in Java

Java-Logging-Lesson 1-Introduction to logging in a Java application; Logger, Handler, Formatter | Java courses

We start by doing an overview of logging and how it is supported in Java (java.util.logging).

"

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.





Add a comment!
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


No comment was posted yet - be the first!



 
Help us to improve! Give us your feedback:
Give your note to the technical content
10 9 8 7 6 5 4 3 2 1
Give your note to the post's learning
10 9 8 7 6 5 4 3 2 1
Is this post helpful?
Yes No


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...


Go to author's Space


Post stats:
Favorited:
 1

Post actions:
[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

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

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits








mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2012 - all rights reserved to www.web-03.net