public class JulLog extends AbstractLog
CLASS_NAME
REPLACE_TOKEN
Modifier | Constructor and Description |
---|---|
protected |
JulLog(Class<?> clazz)
Creates a new
JulLog . |
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 AbstractLog
level
- 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.Log.log(Level, Throwable, String, Object[])
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.