public class Slf4jLog extends AbstractLog
CLASS_NAMEREPLACE_TOKEN| Modifier | Constructor and Description |
|---|---|
protected |
Slf4jLog(Method logMethod,
Object logger)
Creates a new
Slf4jLog. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doLog(Level level,
Throwable thrown,
String template,
Object... args)
Delegate method for the
Log implementation. |
protected final void doLog(Level level, Throwable thrown, String template, Object... args)
Log implementation.
Overridden to create a LogRecord based on the log information.
doLog in class AbstractLoglevel - The logging level for the message.thrown - The exception associated with the log message.template - The message template to log.args - The arguments to replace the {} entries in the
template.AbstractLog.doLog(Level, Throwable, String, Object...)Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.