A C D E F G H I L M N P R S T U V W

A

append(String) - Method in interface uk.org.lidalia.sysoutslf4j.common.LoggerAppender
 
append(String) - Method in class uk.org.lidalia.sysoutslf4j.context.LoggerAppenderImpl
 
append(char) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
append(CharSequence, int, int) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
append(CharSequence) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
appendAndLog(String, String, boolean) - Method in interface uk.org.lidalia.sysoutslf4j.common.LoggerAppender
 
appendAndLog(String, String, boolean) - Method in class uk.org.lidalia.sysoutslf4j.context.LoggerAppenderImpl
 
asRuntimeException(Throwable) - Static method in class uk.org.lidalia.sysoutslf4j.common.ExceptionUtils
 

C

checkError() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
close() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
contextDestroyed(ServletContextEvent) - Method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JServletContextListener
 

D

deregisterLoggerAppender() - Method in interface uk.org.lidalia.sysoutslf4j.common.SLF4JPrintStream
 
deregisterLoggerAppender() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
doUnchecked(Callable<ResultType>) - Static method in class uk.org.lidalia.sysoutslf4j.common.ExceptionUtils
 

E

ExceptionHandlingStrategy - Interface in uk.org.lidalia.sysoutslf4j.context.exceptionhandlers
This interface defines the methods used by sysout-over-slf4j to convert the results of Throwable.printStacktrace into logging events.
Since the exception itself cannot be reclaimed, all that is available is the individual lines of the stack trace as they are printed to System.out/err.
ExceptionHandlingStrategyFactory - Interface in uk.org.lidalia.sysoutslf4j.context.exceptionhandlers
Interface for factories that create ExceptionHandlingStrategies to allow users to provide their own mechanism for handling the difficult problem of capturing the output of Throwable.printStacktrace() and turning it into logging events.
ExceptionUtils - Class in uk.org.lidalia.sysoutslf4j.common
 

F

flush() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
format(Locale, String, Object...) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
format(String, Object...) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 

G

get() - Method in enum uk.org.lidalia.sysoutslf4j.common.SystemOutput
 
getInstance() - Static method in class uk.org.lidalia.sysoutslf4j.context.exceptionhandlers.LogPerLineExceptionHandlingStrategyFactory
 
getOriginalPrintStream() - Method in interface uk.org.lidalia.sysoutslf4j.common.SLF4JPrintStream
 
getOriginalPrintStream() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
getTarget() - Method in class uk.org.lidalia.sysoutslf4j.common.ProxyingInvocationHandler
 

H

handleExceptionLine(String, Logger) - Method in interface uk.org.lidalia.sysoutslf4j.context.exceptionhandlers.ExceptionHandlingStrategy
Called for each line of the stack trace as sent to the System.out/err PrintStream.

I

invoke(Object, Method, Object[]) - Method in class uk.org.lidalia.sysoutslf4j.common.ProxyingInvocationHandler
 
invokeMethod(String, Object) - Static method in class uk.org.lidalia.sysoutslf4j.common.ReflectionUtils
 
invokeMethod(String, Object, Class<?>, Object) - Static method in class uk.org.lidalia.sysoutslf4j.common.ReflectionUtils
 
invokeMethod(Method, Object, Object...) - Static method in class uk.org.lidalia.sysoutslf4j.common.ReflectionUtils
 
invokeStaticMethod(String, Class<?>) - Static method in class uk.org.lidalia.sysoutslf4j.common.ReflectionUtils
 
invokeStaticMethod(String, Class<?>, Class<?>, Object) - Static method in class uk.org.lidalia.sysoutslf4j.common.ReflectionUtils
 
isInLoggingSystem(String) - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
Checks whether the given fully qualified class name is a member of a package registered as being a logging system.

L

log(Logger, String) - Method in enum uk.org.lidalia.sysoutslf4j.context.LogLevel
Calls logger.<level>(message).
log(Logger, Marker, String) - Method in enum uk.org.lidalia.sysoutslf4j.context.LogLevel
Calls logger.<level>(marker, message).
LoggerAppender - Interface in uk.org.lidalia.sysoutslf4j.common
 
LoggerAppenderImpl - Class in uk.org.lidalia.sysoutslf4j.context
 
LogLevel - Enum in uk.org.lidalia.sysoutslf4j.context
Enumeration representing the five levels on an SLF4J Logger.
LogPerLineExceptionHandlingStrategyFactory - Class in uk.org.lidalia.sysoutslf4j.context.exceptionhandlers
Implementation of LogPerLineExceptionHandlingStrategyFactory which returns an ExceptionHandlingStrategy that simply logs each line of the stack trace as a separate logging event.

M

makeExceptionHandlingStrategy(LogLevel, PrintStream) - Method in interface uk.org.lidalia.sysoutslf4j.context.exceptionhandlers.ExceptionHandlingStrategyFactory
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.
makeExceptionHandlingStrategy(LogLevel, PrintStream) - Method in class uk.org.lidalia.sysoutslf4j.context.exceptionhandlers.LogPerLineExceptionHandlingStrategyFactory
 

N

notifyNotStackTrace() - Method in interface uk.org.lidalia.sysoutslf4j.context.exceptionhandlers.ExceptionHandlingStrategy
Called whenever any other calls are intercepted by sysout-over-slf4j - may be a useful trigger for flushing a buffer.

P

print(boolean) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(char) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(char[]) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(double) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(float) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(int) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(long) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(Object) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
print(String) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
printf(Locale, String, Object...) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
printf(String, Object...) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(String) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(Object) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(boolean) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(char) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(char[]) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(double) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(float) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(int) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
println(long) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
PrintStreamCoordinator - Interface in uk.org.lidalia.sysoutslf4j.common
 
PrintStreamCoordinatorImpl - Class in uk.org.lidalia.sysoutslf4j.system
 
PrintStreamCoordinatorImpl() - Constructor for class uk.org.lidalia.sysoutslf4j.system.PrintStreamCoordinatorImpl
 
ProxyingInvocationHandler - Class in uk.org.lidalia.sysoutslf4j.common
 

R

ReflectionUtils - Class in uk.org.lidalia.sysoutslf4j.common
 
registerLoggerAppender(Object) - Method in interface uk.org.lidalia.sysoutslf4j.common.SLF4JPrintStream
 
registerLoggerAppender(Object) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
registerLoggingSystem(String) - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
Registers a package as being a logging system and hence any calls to System.out/err println from classes within it should be allowed through to the original PrintStreams rather than redirected to SLF4J.
replaceSystemOutputsWithSLF4JPrintStreams() - Method in interface uk.org.lidalia.sysoutslf4j.common.PrintStreamCoordinator
 
replaceSystemOutputsWithSLF4JPrintStreams() - Method in class uk.org.lidalia.sysoutslf4j.system.PrintStreamCoordinatorImpl
 
restoreOriginalSystemOutputs() - Method in interface uk.org.lidalia.sysoutslf4j.common.PrintStreamCoordinator
 
restoreOriginalSystemOutputs() - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
If System.out and System.err have been redirected to SLF4J, restores the original PrintStreams allowing direct access to the console again.
This will stop all contexts in the JVM from using sysout-over-slf4j.
restoreOriginalSystemOutputs() - Method in class uk.org.lidalia.sysoutslf4j.system.PrintStreamCoordinatorImpl
 

S

sendSystemOutAndErrToSLF4J() - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
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.
Can be called any number of times, and is synchronized on System.class.
Uses the LogPerLineExceptionHandlingStrategyFactory for handling printlns coming from Throwable.printStackTrace().
Logs at info level for System.out and at error level for System.err.
sendSystemOutAndErrToSLF4J(LogLevel, LogLevel) - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
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().
sendSystemOutAndErrToSLF4J(ExceptionHandlingStrategyFactory) - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
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.
sendSystemOutAndErrToSLF4J(LogLevel, LogLevel, ExceptionHandlingStrategyFactory) - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
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.
set(PrintStream) - Method in enum uk.org.lidalia.sysoutslf4j.common.SystemOutput
 
setError() - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
SLF4JPrintStream - Interface in uk.org.lidalia.sysoutslf4j.common
 
SLF4JPrintStreamImpl - Class in uk.org.lidalia.sysoutslf4j.system
 
stopSendingSystemOutAndErrToSLF4J() - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
Stops using SLF4J for calls to System.out and System.err in the current context.
StringUtils - Class in uk.org.lidalia.sysoutslf4j.common
 
stripEnd(String, String) - Static method in class uk.org.lidalia.sysoutslf4j.common.StringUtils
 
substringBefore(String, String) - Static method in class uk.org.lidalia.sysoutslf4j.common.StringUtils
 
SysOutOverSLF4J - Class in uk.org.lidalia.sysoutslf4j.context
Public interface to the sysout-over-slf4j module.
SysOutOverSLF4JServletContextListener - Class in uk.org.lidalia.sysoutslf4j.context
 
SysOutOverSLF4JServletContextListener() - Constructor for class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JServletContextListener
 
SystemOutput - Enum in uk.org.lidalia.sysoutslf4j.common
 
systemOutputsAreSLF4JPrintStreams() - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
 

T

toString() - Method in enum uk.org.lidalia.sysoutslf4j.common.SystemOutput
 

U

uk.org.lidalia.sysoutslf4j.common - package uk.org.lidalia.sysoutslf4j.common
 
uk.org.lidalia.sysoutslf4j.context - package uk.org.lidalia.sysoutslf4j.context
 
uk.org.lidalia.sysoutslf4j.context.exceptionhandlers - package uk.org.lidalia.sysoutslf4j.context.exceptionhandlers
 
uk.org.lidalia.sysoutslf4j.system - package uk.org.lidalia.sysoutslf4j.system
 
unregisterLoggingSystem(String) - Static method in class uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J
Unregisters a package as being a logging system and hence any calls to System.out/err println from classes within it will be redirected to SLF4J.

V

valueOf(String) - Static method in enum uk.org.lidalia.sysoutslf4j.common.SystemOutput
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum uk.org.lidalia.sysoutslf4j.context.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum uk.org.lidalia.sysoutslf4j.common.SystemOutput
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum uk.org.lidalia.sysoutslf4j.context.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(Object, Class<TypeInThisClassLoader>) - Static method in class uk.org.lidalia.sysoutslf4j.common.ReflectionUtils
 
WrappedCheckedException - Exception in uk.org.lidalia.sysoutslf4j.common
 
WrappedCheckedException(String, Throwable) - Constructor for exception uk.org.lidalia.sysoutslf4j.common.WrappedCheckedException
 
WrappedCheckedException(Throwable) - Constructor for exception uk.org.lidalia.sysoutslf4j.common.WrappedCheckedException
 
write(byte[], int, int) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
write(int) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 
write(byte[]) - Method in class uk.org.lidalia.sysoutslf4j.system.SLF4JPrintStreamImpl
 

A C D E F G H I L M N P R S T U V W

Copyright © 2010. All Rights Reserved.