Constructor and Description |
---|
Slf4jLogWriter(Logger log)
Create a new instance which uses the passed SLF4J logger for persisting
the log messages.
|
Modifier and Type | Method and Description |
---|---|
void |
enter(java.lang.String methodName,
java.lang.Object[] args)
Logs the call at debug level is debug level is enabled.
|
void |
error(java.lang.String methodName,
java.lang.Object[] args,
java.lang.Exception e)
Logs the exception including a stack trace at debug level is debug level is enabled.
|
void |
leave(java.lang.String methodName,
java.lang.Object[] args,
java.lang.Object result)
Logs the call at debug level is debug level is enabled.
|
long |
systemTime()
Returns
|
public Slf4jLogWriter(Logger log)
log
- public long systemTime()
System.currentTimeMillis();Implementation specific time stamp which is logged along with each log message. The values returned by this method should be monotone with respect to the time they represent.
systemTime
in interface LogWriter
public void enter(java.lang.String methodName, java.lang.Object[] args)
public void leave(java.lang.String methodName, java.lang.Object[] args, java.lang.Object result)
public void error(java.lang.String methodName, java.lang.Object[] args, java.lang.Exception e)
Copyright © 2010 - 2020 Adobe. All Rights Reserved