public final class Logging extends Object implements LoggingBuilder, LoggerName
Programmatic configuration for SLF4J logging
http://docs.jboss.org/hibernate/orm/4.3/topical/html/logging/Logging.html https://www.eclipse.org/jetty/documentation/9.3.x/configuring-logging.html http://docs.hazelcast.org/docs/3.5/manual/html/logging.html http://cxf.apache.org/docs/general-cxf-logging.html https://wiki.eclipse.org/EclipseLink/Development/296391LoggerName.LogAtLevel
Modifier and Type | Method and Description |
---|---|
static String |
capture(LogCapturable runnable)
If you're reliant on log output for test assertions then something is probably wrong.
|
LoggingBuilder |
configureFrameworks() |
LoggingBuilder |
defaultLevel(Level defaultLevel) |
LoggerName.LogAtLevel |
log(String loggerName) |
static LoggingBuilder |
logging() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
public static LoggingBuilder logging()
public LoggerName.LogAtLevel log(String loggerName)
log
in interface LoggerName
public LoggingBuilder defaultLevel(Level defaultLevel)
defaultLevel
in interface LoggingBuilder
public LoggingBuilder configureFrameworks()
configureFrameworks
in interface LoggingBuilder
public static String capture(LogCapturable runnable)
runnable
- Copyright © 2017–2018 earcam. All rights reserved.