GigaSpaces XAP 9.7.2 API

com.sun.jini.logging
Class LogUtil

java.lang.Object
  extended by com.sun.jini.logging.LogUtil

public class LogUtil
extends Object

A set of static convenience methods used for logging. This class cannot be instantiated.

Since:
2.1
Author:
Sun Microsystems, Inc.

Method Summary
static void logThrow(Logger logger, Level level, Class sourceClass, String sourceMethod, String msg, Object[] params, Throwable e)
          Convenience method used to log a throw operation when message parameters and a Throwable are used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

logThrow

public static void logThrow(Logger logger,
                            Level level,
                            Class sourceClass,
                            String sourceMethod,
                            String msg,
                            Object[] params,
                            Throwable e)
Convenience method used to log a throw operation when message parameters and a Throwable are used.

Parameters:
logger - logger to log to
level - the log level
sourceClass - class where throw occurred
sourceMethod - name of the method where throw occurred
msg - log message
params - log message parameters
e - exception thrown

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.