net.sourceforge.atunes.utils.log4j
Class Logger

java.lang.Object
  extended by net.sourceforge.atunes.utils.log4j.Logger

public class Logger
extends java.lang.Object

A custom logger for aTunes, using log4j.


Constructor Summary
Logger()
          Instantiates a new logger.
 
Method Summary
 void debug(java.lang.String cat)
          Logs a debug event.
 void debug(java.lang.String cat, java.lang.Object arg0)
          Logs a debug event.
 void debug(java.lang.String cat, java.lang.String... args)
          Logs a debug event.
 void error(java.lang.String cat, java.lang.Object o)
          Logs an error event.
 void info(java.lang.String cat, java.lang.Object arg0)
          Logs an info event.
 void internalError(java.lang.Object o)
          Logs an internal error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Instantiates a new logger.

Method Detail

debug

public void debug(java.lang.String cat)
Logs a debug event.

Parameters:
cat - the cat

debug

public void debug(java.lang.String cat,
                  java.lang.Object arg0)
Logs a debug event.

Parameters:
cat - the cat
arg0 - the arg0

debug

public void debug(java.lang.String cat,
                  java.lang.String... args)
Logs a debug event.

Parameters:
cat - the cat
args - the args

error

public void error(java.lang.String cat,
                  java.lang.Object o)
Logs an error event.

Parameters:
cat - the cat
o - the o

info

public void info(java.lang.String cat,
                 java.lang.Object arg0)
Logs an info event.

Parameters:
cat - the cat
arg0 - the arg0

internalError

public void internalError(java.lang.Object o)
Logs an internal error.

Parameters:
o - the o


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.