Package uk.org.lidalia.sysoutslf4j.context.exceptionhandlers

Interface Summary
ExceptionHandlingStrategy 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 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.
 

Class Summary
LogPerLineExceptionHandlingStrategyFactory Implementation of LogPerLineExceptionHandlingStrategyFactory which returns an ExceptionHandlingStrategy that simply logs each line of the stack trace as a separate logging event.
 



Copyright © 2010. All Rights Reserved.