org.objectweb.cjdbc.common.log
Class LogManager

java.lang.Object
  extended byorg.objectweb.cjdbc.common.log.LogManager

public class LogManager
extends java.lang.Object

Logger manager.

Version:
1.0
Author:
Emmanuel Cecchet

Constructor Summary
LogManager()
           
 
Method Summary
static void configure(java.lang.String propertyFileName)
          Configures log4j according to the given property file name.
(package private) static Trace getLogger(java.lang.String name)
          Retrieves a logger by its name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogManager

public LogManager()
Method Detail

getLogger

static Trace getLogger(java.lang.String name)
Retrieves a logger by its name.

Parameters:
name - logger name
Returns:
trace a trace

configure

public static void configure(java.lang.String propertyFileName)
Configures log4j according to the given property file name.

Parameters:
propertyFileName - the log4j property file name


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.