net.sf.asyncobjects.util
Class LogUtils

java.lang.Object
  extended by net.sf.asyncobjects.util.LogUtils

public class LogUtils
extends Object

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

LogUtils

public LogUtils()
Method Detail

logOutcome

public static void logOutcome(Logger log,
                              Level level,
                              String operation,
                              Promise<?> operationPromise)
Log outcome of promised operation

Parameters:
log - a logger
level - a level to use fo logging
operation - name of operation
operationPromise - promise of operation

logInfoOutcome

public static void logInfoOutcome(Logger log,
                                  String operation,
                                  Promise<?> operationPromise)
Log outcome of promised operation

Parameters:
log - a logger
operation - name of operation
operationPromise - promise of operation

logDebugOutcome

public static void logDebugOutcome(Logger log,
                                   String operation,
                                   Promise<?> operationPromise)
Log outcome of promised operation

Parameters:
log - a logger
operation - name of operation
operationPromise - promise of operation


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.