Solved

LogFactory.getLog(VisitNoteWrapper.class)

Posted on 2004-09-22
3
307 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.

760 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

18 Experts available now in Live!

Get 1:1 Help Now