|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asyncobjects.util.LogUtils
public class LogUtils
Utilities that help to log events related to the framework.
Constructor Summary | |
---|---|
LogUtils()
|
Method Summary | |
---|---|
static void |
logDebugOutcome(Logger log,
String operation,
Promise<?> operationPromise)
Log outcome of promised operation |
static void |
logInfoOutcome(Logger log,
String operation,
Promise<?> operationPromise)
Log outcome of promised operation |
static void |
logOutcome(Logger log,
Level level,
String operation,
Promise<?> operationPromise)
Log outcome of promised operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogUtils()
Method Detail |
---|
public static void logOutcome(Logger log, Level level, String operation, Promise<?> operationPromise)
log
- a loggerlevel
- a level to use fo loggingoperation
- name of operationoperationPromise
- promise of operationpublic static void logInfoOutcome(Logger log, String operation, Promise<?> operationPromise)
log
- a loggeroperation
- name of operationoperationPromise
- promise of operationpublic static void logDebugOutcome(Logger log, String operation, Promise<?> operationPromise)
log
- a loggeroperation
- name of operationoperationPromise
- promise of operation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |