public interface LogWriter
Modifier and Type | Method and Description |
---|---|
void |
enter(java.lang.String methodName,
java.lang.Object[] args)
Called right before a method of a SPI entity is called.
|
void |
error(java.lang.String methodName,
java.lang.Object[] args,
java.lang.Exception e)
Called right after a method of a SPI entity has been called and an
exception was thrown.
|
void |
leave(java.lang.String methodName,
java.lang.Object[] args,
java.lang.Object result)
Called right after a method of a SPI entity has been called if no
exception was thrown.
|
long |
systemTime()
Implementation specific time stamp which is logged along with each log
message.
|
long systemTime()
void enter(java.lang.String methodName, java.lang.Object[] args)
methodName
- name of the method which a about to be calledargs
- arguments passed to the methods which is about to be called.void leave(java.lang.String methodName, java.lang.Object[] args, java.lang.Object result)
methodName
- name of the method which has been calledargs
- arguments passed to the method which has been calledresult
- return value of the method which has been calledvoid error(java.lang.String methodName, java.lang.Object[] args, java.lang.Exception e)
methodName
- name of the method which has been calledargs
- arguments passed to the method which has been callede
- exception which was thrown by the method which has
been calledCopyright © 2010 - 2020 Adobe. All Rights Reserved