org.objectweb.fractal.fraclet.annotation
Annotation Type Monolog


@Target(value=FIELD)
public @interface Monolog

Field annotation refering to a Monolog logger.

Author:
Nicolas Pessemier

Required Element Summary
 String name
          Provides the name of the Fractal logger to use.
 
Optional Element Summary
 boolean additivity
          Provides the additivity flag used.
 boolean cleanHandlers
          Provides the cleanHandlers flag used.
 String[] handlers
          Provides the list of handlers to use
 String level
          Provides the default logging level.
 

Element Detail

name

public abstract String name
Provides the name of the Fractal logger to use.

Returns:
name of the Fractal controller reflected.

level

public abstract String level
Provides the default logging level.

Returns:
the default level to use (default is INFO).
Default:
"INFO"

handlers

public abstract String[] handlers
Provides the list of handlers to use

Returns:
a comma separated list of handlers.
Default:
"consoleHandler"

additivity

public abstract boolean additivity
Provides the additivity flag used.

Returns:
true if additivity is enabled.
Default:
true

cleanHandlers

public abstract boolean cleanHandlers
Provides the cleanHandlers flag used.

Returns:
true if cleanHandlers is enabled.
Default:
true