|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LogLevel | |
|---|---|
| uk.org.lidalia.sysoutslf4j.context | |
| uk.org.lidalia.sysoutslf4j.context.exceptionhandlers | |
| Uses of LogLevel in uk.org.lidalia.sysoutslf4j.context |
|---|
| Methods in uk.org.lidalia.sysoutslf4j.context that return LogLevel | |
|---|---|
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in uk.org.lidalia.sysoutslf4j.context with parameters of type LogLevel | |
|---|---|
static void |
SysOutOverSLF4J.sendSystemOutAndErrToSLF4J(LogLevel outLevel,
LogLevel errLevel)
If they have not previously been wrapped, wraps the System.out and System.err PrintStreams in an SLF4JPrintStreamImpl and registers
SLF4J for the current context's classloader.Can be called any number of times, and is synchronized on System.class. Uses the LogPerLineExceptionHandlingStrategy for handling printlns coming from Throwable.printStackTrace(). |
static void |
SysOutOverSLF4J.sendSystemOutAndErrToSLF4J(LogLevel outLevel,
LogLevel errLevel,
ExceptionHandlingStrategyFactory exceptionHandlingStrategyFactory)
If they have not previously been wrapped, wraps the System.out and System.err PrintStreams in an SLF4JPrintStreamImpl and registers
SLF4J for the current context's classloader.Can be called any number of times, and is synchronized on System.class. |
| Uses of LogLevel in uk.org.lidalia.sysoutslf4j.context.exceptionhandlers |
|---|
| Methods in uk.org.lidalia.sysoutslf4j.context.exceptionhandlers with parameters of type LogLevel | |
|---|---|
ExceptionHandlingStrategy |
LogPerLineExceptionHandlingStrategyFactory.makeExceptionHandlingStrategy(LogLevel logLevel,
PrintStream originalPrintStream)
|
ExceptionHandlingStrategy |
ExceptionHandlingStrategyFactory.makeExceptionHandlingStrategy(LogLevel logLevel,
PrintStream originalPrintStream)
This method will be called twice for each context that is sent to SLF4J, once each to return an ExceptionHandlingStrategy for the new System.out and System.err print streams.It is called with the LogLevel of the SLF4JPrintStream and the original System output
PrintStream that is being replaced, so that ExceptionHandlingStrategies can have direct access to
the console if they wish. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||