org.apache.hivemind.service.impl
Class LoggingUtils

java.lang.Object
  extended by org.apache.hivemind.service.impl.LoggingUtils

public class LoggingUtils
extends java.lang.Object

Collection of static methods used by loggers to log method entry and exit.

Author:
Howard Lewis Ship

Constructor Summary
LoggingUtils()
           
 
Method Summary
static void convert(java.lang.StringBuffer buffer, java.lang.Object input)
           
static void entry(org.apache.commons.logging.Log log, java.lang.String methodName, java.lang.Object[] args)
           
static void exception(org.apache.commons.logging.Log log, java.lang.String methodName, java.lang.Throwable t)
           
static void exit(org.apache.commons.logging.Log log, java.lang.String methodName, java.lang.Object result)
           
static void voidExit(org.apache.commons.logging.Log log, java.lang.String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingUtils

public LoggingUtils()
Method Detail

entry

public static void entry(org.apache.commons.logging.Log log,
                         java.lang.String methodName,
                         java.lang.Object[] args)

exit

public static void exit(org.apache.commons.logging.Log log,
                        java.lang.String methodName,
                        java.lang.Object result)

voidExit

public static void voidExit(org.apache.commons.logging.Log log,
                            java.lang.String methodName)

exception

public static void exception(org.apache.commons.logging.Log log,
                             java.lang.String methodName,
                             java.lang.Throwable t)

convert

public static void convert(java.lang.StringBuffer buffer,
                           java.lang.Object input)