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


public @interface MonologHandler

Class annotation describing a custom Monolog handler.

Author:
Nicolas Pessemier

Required Element Summary
 String name
          Provides the name of the handler.
 
Optional Element Summary
 boolean appendMode
          The append mode used.
 int fileNumber
          The maximal number of rolling files to use.
 int maxSize
          The maximal size in bytes of the log file.
 String output
          Provides the output to use.
 String pattern
          Provides the output pattern.
 String type
          Provides the Type of the handler.
 

Element Detail

name

public abstract String name
Provides the name of the handler.

Returns:
name of the handler.

type

public abstract String type
Provides the Type of the handler.

Returns:
the type of the handler (default is Console).
Default:
"Console"

output

public abstract String output
Provides the output to use.

Returns:
the output to use.
Default:
"System.out"

pattern

public abstract String pattern
Provides the output pattern.

Returns:
the output pattern.
Default:
"%l: %m%n"

maxSize

public abstract int maxSize
The maximal size in bytes of the log file.

Returns:
the maximal size in bytes of the log file to use.
Default:
0

fileNumber

public abstract int fileNumber
The maximal number of rolling files to use.

Returns:
the maximal number of rolling files to use.
Default:
0

appendMode

public abstract boolean appendMode
The append mode used.

Returns:
true if the appendMode flag is enabled.
Default:
false