sg.edu.nus.logging
Class LogManager

java.lang.Object
  extended by sg.edu.nus.logging.LogManager

public final class LogManager
extends java.lang.Object

A simple manager to log Exception message. The default Formatter is XMLFormatter. The DTD file used by the default Formatter is generated by this class.

Version:
1.0 2006-9-14
Author:
Xu Linhao

Method Summary
static Logger getLogger(AbstractPeer peer)
          Returns a logger.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public static Logger getLogger(AbstractPeer peer)
Returns a logger.

Parameters:
peer - the peer instance
Returns:
returns a logger