com.sun.jini.logging
Class LogUtil
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 tolevel
- the log levelsourceClass
- class where throw occurredsourceMethod
- name of the method where throw occurredmsg
- log messageparams
- log message parameterse
- exception thrown
Copyright © GigaSpaces.