Package org.eclipse.jetty.logging
Class StacklessLogging
java.lang.Object
org.eclipse.jetty.logging.StacklessLogging
- All Implemented Interfaces:
- AutoCloseable
A try-with-resources compatible layer for 
hiding stacktraces within the scope of the try block when
 logging with JettyLogger implementation.
 Use of other logging implementation cause no effect when using this class
Example:
 try (StacklessLogging scope = new StacklessLogging(EventDriver.class,Noisy.class))
 {
     doActionThatCausesStackTraces();
 }
 - 
Constructor SummaryConstructorsConstructorDescriptionStacklessLogging(Class<?>... classesToSquelch) StacklessLogging(Package... packagesToSquelch) StacklessLogging(org.slf4j.Logger... logs) 
- 
Method Summary
- 
Constructor Details- 
StacklessLogging
- 
StacklessLogging
- 
StacklessLoggingpublic StacklessLogging(org.slf4j.Logger... logs) 
 
- 
- 
Method Details- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
 
-