org.objectweb.speedo.log
Class Log

java.lang.Object
  extended byorg.objectweb.speedo.log.Log
All Implemented Interfaces:
LogAttributes

public class Log
extends java.lang.Object
implements LogAttributes

Logging system initialisation. By default, the loggerFactory class is org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory

Author:
Y. Devaux

Field Summary
static java.lang.String DEFAULT_LOGGER_FACTORY
          Default name of the logger factory
 
Constructor Summary
Log()
           
 
Method Summary
 Logger getLogger(java.lang.String s)
           
 Logger getLogger(java.lang.String s, java.lang.String s1)
           
static LoggerFactory getLoggerFactory()
           
 Logger[] getLoggers()
           
 java.lang.String getPropertiesFileName()
           
 java.lang.String getResourceBundleName()
           
 void setPropertiesFileName(java.lang.String propfn)
           
 void setResourceBundleName(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LOGGER_FACTORY

public static final java.lang.String DEFAULT_LOGGER_FACTORY
Default name of the logger factory

See Also:
Constant Field Values
Constructor Detail

Log

public Log()
Method Detail

getLoggerFactory

public static LoggerFactory getLoggerFactory()

getPropertiesFileName

public java.lang.String getPropertiesFileName()
Specified by:
getPropertiesFileName in interface LogAttributes

setPropertiesFileName

public void setPropertiesFileName(java.lang.String propfn)
Specified by:
setPropertiesFileName in interface LogAttributes

getLogger

public Logger getLogger(java.lang.String s)

getLogger

public Logger getLogger(java.lang.String s,
                        java.lang.String s1)

getResourceBundleName

public java.lang.String getResourceBundleName()

setResourceBundleName

public void setResourceBundleName(java.lang.String s)

getLoggers

public Logger[] getLoggers()