Solved

LogFactory.getLog(VisitNoteWrapper.class)

Posted on 2004-09-22
3
314 Views
Last Modified: 2010-03-31
Hi!

I am reading someone’s file and can anybody explain what this line mean?
private Log log = LogFactory.getLog(VisitNoteWrapper.class);
++++++++++++++++++

public class VisitNoteWrapper {

      /**
       *
       */
      
      private String visitNoteClass = null;
      private HttpServletRequest request = null;
      private ActionMapping mapping = null;
      private Log log = LogFactory.getLog(VisitNoteWrapper.class); ß---



+++++++++
thanks in advance
0
Comment
Question by:dkim18
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 80 total points
ID: 12125288
It means 'get the logger that is keyed on the VisitNoteWapper class'
0
 
LVL 92

Assisted Solution

by:objects
objects earned 45 total points
ID: 12129028
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12174514
8-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now