|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.control.logger.BasicLoggerControllerMixin
public abstract class BasicLoggerControllerMixin
Basic implementation of logger controller. A "monolog-conf-file"
initialization parameter can be set to specify the location of the monolog
configuration file.
Field Summary |
---|
Fields inherited from interface org.objectweb.dream.control.logger.LoggerController |
---|
DEBUG, ERROR, FATAL, INFO, INHERIT, WARN |
Constructor Summary | |
---|---|
BasicLoggerControllerMixin()
|
Method Summary | |
---|---|
abstract void |
_super_initFcController(InitializationContext ic)
The initFcController
method overridden by this mixin. |
abstract void |
_super_initialize(Tree args)
The initialize method overridden by
this mixin. |
String |
getBaseName()
Returns the loggers' base name. |
int |
getLoggerLevel(String loggerName)
Returns the current logging level of a logger |
String[] |
getLoggerNames()
Returns the name of every registered loggers. |
void |
initFcController(InitializationContext ic)
|
void |
initialize(Tree args)
|
void |
register(String loggerName,
Loggable loggable)
Registers a loggable as client of this logger controller for the specified logger name. |
void |
setBaseName(String name)
Sets the loggers' base name. |
void |
setLoggerLevel(String loggerName,
int level)
Sets the logging level of a logger. |
void |
unregiser(String loggerName,
Loggable loggable)
Un registers a loggable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicLoggerControllerMixin()
Method Detail |
---|
public void initialize(Tree args) throws Exception
initialize
in interface Initializable
Exception
Initializable.initialize(org.objectweb.fractal.julia.loader.Tree)
public void initFcController(InitializationContext ic) throws InstantiationException
InstantiationException
Controller.initFcController(InitializationContext)
public String getBaseName()
LoggerController
getBaseName
in interface LoggerController
LoggerController.getBaseName()
public void setBaseName(String name)
LoggerController
setBaseName
in interface LoggerController
name
- the base nameLoggerController.setBaseName(String)
public int getLoggerLevel(String loggerName)
LoggerController
getLoggerLevel
in interface LoggerController
loggerName
- the name of the logger
INHERIT
if given name is unknown.LoggerController.getLoggerLevel(String)
public void setLoggerLevel(String loggerName, int level)
LoggerController
setLoggerLevel
in interface LoggerController
loggerName
- the name of the loggerlevel
- a levelLoggerController.setLoggerLevel(String, int)
public String[] getLoggerNames()
LoggerController
getLoggerNames
in interface LoggerController
LoggerController.getLoggerNames()
public void register(String loggerName, Loggable loggable)
LoggerControllerRegister
register
in interface LoggerControllerRegister
loggerName
- a logger nameloggable
- a loggable object (controller or content class).LoggerControllerRegister.register(String, Loggable)
public void unregiser(String loggerName, Loggable loggable)
LoggerControllerRegister
unregiser
in interface LoggerControllerRegister
loggerName
- the registred logger nameloggable
- the registred loggable object (controller or content
class).LoggerControllerRegister.unregiser(String, Loggable)
public abstract void _super_initFcController(InitializationContext ic) throws InstantiationException
initFcController
method overridden by this mixin.
InstantiationException
Controller.initFcController(InitializationContext)
public abstract void _super_initialize(Tree args) throws Exception
initialize
method overridden by
this mixin.
Exception
Initializable.initialize(Tree)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |