luxor.status
Class Logger

java.lang.Object
  |
  +--luxor.status.Logger

public class Logger
extends java.lang.Object

Why wrap Java's util.logging.Logger? - more convenience methods - keep option open to switch to a different logging toolkit (e.g. Apache log4j) - make it easier to backport to JDK lesser than 1.4


Method Summary
 void config(java.lang.String msg)
           
 void debug(java.lang.String msg)
           
 void entering(java.lang.String method)
           
 void entering(java.lang.String method, java.lang.String arg1)
           
 void error(java.lang.String msg)
           
 void exiting(java.lang.String method)
           
 void exiting(java.lang.String method, java.lang.String result)
           
 void fatal(java.lang.String msg)
           
 void fine(java.lang.String msg)
           
 void finer(java.lang.String msg)
           
 void finest(java.lang.String msg)
           
static Logger getLogger(java.lang.Class clazz)
           
static Logger getLogger(java.lang.String name)
           
 void hint(java.lang.String msg)
           
 void info(java.lang.String msg)
           
 void warning(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public static Logger getLogger(java.lang.Class clazz)

getLogger

public static Logger getLogger(java.lang.String name)

config

public void config(java.lang.String msg)

debug

public void debug(java.lang.String msg)

entering

public void entering(java.lang.String method)

entering

public void entering(java.lang.String method,
                     java.lang.String arg1)

error

public void error(java.lang.String msg)

exiting

public void exiting(java.lang.String method)

exiting

public void exiting(java.lang.String method,
                    java.lang.String result)

fatal

public void fatal(java.lang.String msg)

fine

public void fine(java.lang.String msg)

finer

public void finer(java.lang.String msg)

finest

public void finest(java.lang.String msg)

hint

public void hint(java.lang.String msg)

info

public void info(java.lang.String msg)

warning

public void warning(java.lang.String msg)


Copyright 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo