org.objectweb.speedo.log
Class Log

java.lang.Object
  extended byorg.objectweb.speedo.log.Log
All Implemented Interfaces:
org.objectweb.fractal.api.control.AttributeController, LogAttributes, org.objectweb.util.monolog.api.LoggerFactory

public class Log
extends java.lang.Object
implements org.objectweb.util.monolog.api.LoggerFactory, LogAttributes

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

Author:
S.Chassande-Barrioz

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)
           
 
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 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)
Specified by:
getLogger in interface org.objectweb.util.monolog.api.LoggerFactory

getLogger

public org.objectweb.util.monolog.api.Logger getLogger(java.lang.String s,
                                                       java.lang.String s1)
Specified by:
getLogger in interface org.objectweb.util.monolog.api.LoggerFactory

getResourceBundleName

public java.lang.String getResourceBundleName()
Specified by:
getResourceBundleName in interface org.objectweb.util.monolog.api.LoggerFactory

setResourceBundleName

public void setResourceBundleName(java.lang.String s)
Specified by:
setResourceBundleName in interface org.objectweb.util.monolog.api.LoggerFactory

getLoggers

public org.objectweb.util.monolog.api.Logger[] getLoggers()
Specified by:
getLoggers in interface org.objectweb.util.monolog.api.LoggerFactory