org.objectweb.speedo.log
Class Log

org.objectweb.speedo.log.Log
All Implemented Interfaces:
LogAttributes

public class Log
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
 org.objectweb.util.monolog.api.Logger getLogger(java.lang.String s)
           
 org.objectweb.util.monolog.api.Logger getLogger(java.lang.String s, java.lang.String s1)
           
static org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
           
 org.objectweb.util.monolog.api.Logger[] getLoggers()
           
 java.lang.String getPropertiesFileName()
           
 java.lang.String getResourceBundleName()
           
 void setPropertiesFileName(java.lang.String propfn)
           
 void setResourceBundleName(java.lang.String s)
           
 

Field Detail

DEFAULT_LOGGER_FACTORY

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

Log

public Log()
Method Detail

getLoggerFactory

public static org.objectweb.util.monolog.api.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 org.objectweb.util.monolog.api.Logger getLogger(java.lang.String s)

getLogger

public org.objectweb.util.monolog.api.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 org.objectweb.util.monolog.api.Logger[] getLoggers()