Package | Description |
---|---|
org.objectweb.util.monolog.api |
The Monolog API.
|
org.objectweb.util.monolog.file.monolog | |
org.objectweb.util.monolog.wrapper.common |
Common class between wrapper implementations.
|
org.objectweb.util.monolog.wrapper.config | |
org.objectweb.util.monolog.wrapper.javaLog |
The wrapper for the logging system of the JDK 1.4 (or greater).
|
org.objectweb.util.monolog.wrapper.log4jMini |
The wrapper for the logging system log4jMini.
|
org.objectweb.util.monolog.wrapper.printwriter |
Librairies for wrapping Monolog from or to a PrintWriter or PrintStream.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Logger
A Logger implementation receives event messages from an object and exports
them.
|
interface |
TopicalLogger
A TopicalLogger dispatches events to a set of Handlers.
|
Modifier and Type | Method and Description |
---|---|
Handler |
HandlerFactory.createHandler(java.lang.String hn,
java.lang.String handlertype)
It retrieves a new instance of an handler which the type is specified
by the parameter.
|
Handler[] |
TopicalLogger.getHandler()
It returns the list of the handler associated to this logger.
|
Handler |
TopicalLogger.getHandler(java.lang.String hn)
It returns the handler which the name is equals to the parameter
|
Handler |
HandlerFactory.getHandler(java.lang.String handlername)
It retrieves the handler which the name is specified by the parameter
|
Handler[] |
HandlerFactory.getHandlers()
It retrieves all handler managed by this factory.
|
Handler |
HandlerFactory.removeHandler(java.lang.String handlername)
It removes the handler which the name is specified by the parameter
|
Modifier and Type | Method and Description |
---|---|
void |
TopicalLogger.addHandler(Handler h)
A TopicalLogger manages a list of Handler instances.
|
void |
MonologFactoryListener.handlerCreated(Handler handler)
It is called when a new handler has been created by the monolog factory
|
void |
MonologFactoryListener.handlerRemoved(Handler handler)
It i called when an handler has been removed by the monolog factory
|
void |
TopicalLogger.removeHandler(Handler h)
A TopicalLogger manages a list of Handler instances.
|
Modifier and Type | Method and Description |
---|---|
protected Handler |
PropertiesConfAccess.parseHandlerProp(java.util.Properties prop,
java.lang.String key,
HandlerFactory hf)
It parses a property entry to build or configure a Handler instance.
|
Modifier and Type | Method and Description |
---|---|
Handler |
AbstractFactory.createHandler(java.lang.String hn,
java.lang.String handlertype) |
Handler |
AbstractFactory.getHandler(java.lang.String hn) |
Handler[] |
AbstractFactory.getHandlers() |
Handler |
AbstractFactory.removeHandler(java.lang.String hn) |
Modifier and Type | Class and Description |
---|---|
class |
BasicHandler
This class is a basic implementation the Handler interface.
|
class |
BasicLogger
This class is a basic implementatio of the TopicalLogger interface.
|
Modifier and Type | Method and Description |
---|---|
Handler |
BasicFactory.createHandler(java.lang.String hn,
java.lang.String handlertype) |
Handler[] |
BasicLogger.getHandler() |
Handler |
BasicFactory.getHandler(java.lang.String hn) |
Handler |
BasicLogger.getHandler(java.lang.String hn) |
Handler[] |
BasicFactory.getHandlers() |
Handler |
BasicFactory.removeHandler(java.lang.String hn) |
Modifier and Type | Method and Description |
---|---|
void |
BasicLogger.addHandler(Handler h) |
void |
BasicLogger.removeHandler(Handler h) |
Modifier and Type | Class and Description |
---|---|
class |
GenericHandler
Is a generic handler implementation used to wrapper java.util.logging.Handler
instance.
|
class |
JMXGenericHandler
Is a generic handler implementation used to wrapper java.util.logging.Handler
instance.
|
class |
Logger
Is an extension of the java.util.logging.Logger class used to wrap Monolog
on the logging system provided in the JDK since the 1.4 version.
|
Modifier and Type | Method and Description |
---|---|
Handler[] |
Logger.getHandler()
Get the Handlers associated with this logger.
|
Handler |
Logger.getHandler(java.lang.String hn)
It returns the handler which the name is equals to the parameter
|
Modifier and Type | Method and Description |
---|---|
void |
Logger.addHandler(Handler h)
A TopicalLogger manages a list of Handler instances.
|
void |
Logger.removeHandler(Handler h)
A TopicalLogger manages a list of Handler instances.
|
Modifier and Type | Class and Description |
---|---|
class |
FileHandler
This class is the wrapper to the org.apache.log4j.FileAppender
|
class |
MonologCategory |
Modifier and Type | Method and Description |
---|---|
Handler |
MonologLoggerFactory.createHandler(java.lang.String hn,
java.lang.String handlertype) |
Handler[] |
MonologCategory.getHandler() |
Handler |
MonologLoggerFactory.getHandler(java.lang.String hn) |
Handler |
MonologCategory.getHandler(java.lang.String hn) |
Handler[] |
MonologLoggerFactory.getHandlers() |
Handler |
MonologLoggerFactory.removeHandler(java.lang.String hn) |
Modifier and Type | Method and Description |
---|---|
void |
MonologCategory.addHandler(Handler h)
Add a handler in the Handler list of the topicalLogger
|
void |
MonologCategory.removeHandler(Handler h)
Remove a handler from the Handler list of the topicalLogger
|
Modifier and Type | Class and Description |
---|---|
class |
LoggerImpl
This class is a simple implementation of the Logger interface provided by
the monolog specification.
|
Modifier and Type | Method and Description |
---|---|
Handler |
LoggerImpl.createHandler(java.lang.String hn,
java.lang.String handlertype) |
Handler[] |
LoggerImpl.getHandler() |
Handler |
LoggerImpl.getHandler(java.lang.String hn) |
Handler[] |
LoggerImpl.getHandlers() |
Handler |
LoggerImpl.removeHandler(java.lang.String handlername) |
Modifier and Type | Method and Description |
---|---|
void |
LoggerImpl.addHandler(Handler h) |
void |
LoggerImpl.removeHandler(Handler h) |