org.objectweb.jorm.util.lib
Class CompilerLogger

java.lang.Object
  |
  +--org.objectweb.jorm.util.lib.CompilerLogger

public class CompilerLogger
extends java.lang.Object

The CompilerLogger object defines a static LoggerFactory object to create logger. This object can be configured by a properties file.

Author:
X. Spengler

Constructor Summary
CompilerLogger()
           
 
Method Summary
static void configure(java.util.Properties properties)
          Configures the logger factory object with a properties object.
static org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
          Allows to know the logger factory used by jorm.
static void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory lf)
          Allows to know the logger factory used by jorm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerLogger

public CompilerLogger()
Method Detail

getLoggerFactory

public static org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
Allows to know the logger factory used by jorm.
Returns:
a static LoggerFactory object

setLoggerFactory

public static void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory lf)
Allows to know the logger factory used by jorm.
Returns:
a static LoggerFactory object

configure

public static void configure(java.util.Properties properties)
Configures the logger factory object with a properties object.
Parameters:
properties - a properties object