org.objectweb.jonas.common.Log Class Reference

List of all members.

Static Public Member Functions

void configure (String file)
synchronized LoggerFactory getLoggerFactory ()
void reset ()
PrintWriter getLogWriter (String topic)
LevelFactory getLevelFactory ()
Logger getLogger (String topic)

Static Public Attributes

final String JONAS_DB_PREFIX = "org.objectweb.jonas.db"

Detailed Description

This class provides utility method for using Monolog
Author:
Philippe Coq.

Sebastien Chassande-Barrioz sebastien.chassande@inrialpes.fr

Philippe Durieux

Florent Benoit & Ludovic Bert

Adriana Danes : change MBean implementation model from inheritance to delegation

Definition at line 66 of file Log.java.


Member Function Documentation

void org.objectweb.jonas.common.Log.configure String  file  )  [static]
 

Configure Logger

Parameters:
file The configuration file for monolog (usually: trace.properties)

Definition at line 204 of file Log.java.

LevelFactory org.objectweb.jonas.common.Log.getLevelFactory  )  [static]
 

Shortcut that returns the LevelFactory

Definition at line 440 of file Log.java.

Logger org.objectweb.jonas.common.Log.getLogger String  topic  )  [static]
 

Shortcut to get the Logger by its topic name.

Parameters:
topic the topic of the returned logger
Returns:
always a logger instance (never null value).

Definition at line 449 of file Log.java.

synchronized LoggerFactory org.objectweb.jonas.common.Log.getLoggerFactory  )  [static]
 

It returns the unique LoggerFactory used in JOnAS. initialize it if not already done.

Definition at line 223 of file Log.java.

PrintWriter org.objectweb.jonas.common.Log.getLogWriter String  topic  )  [static]
 

Returns the standard PrintWriter associated to the logger defined by its topic. This is mainly used for DBM and Connectors.

Definition at line 432 of file Log.java.

void org.objectweb.jonas.common.Log.reset  )  [static]
 

Reset logger factory

Definition at line 423 of file Log.java.


Member Data Documentation

final String org.objectweb.jonas.common.Log.JONAS_DB_PREFIX = "org.objectweb.jonas.db" [static]
 

Prefix for DB service (for example hsqldb service)

Definition at line 161 of file Log.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:06:26 2005 for JOnAS by  doxygen 1.3.9.1