public class LogUtils extends Object
Constructor and Description |
---|
LogUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
entering(Logger logger,
Class<?> sourceClass,
String sourceMethod) |
static void |
entering(Logger logger,
Class<?> sourceClass,
String sourceMethod,
Object arg) |
static void |
entering(Logger logger,
Class<?> sourceClass,
String sourceMethod,
Object[] args) |
static void |
entering(Logger logger,
String sourceClass,
String sourceMethod,
Object[] args) |
static void |
exiting(Logger logger,
Class<?> sourceClass,
String sourceMethod) |
static void |
exiting(Logger logger,
Class<?> sourceClass,
String sourceMethod,
Object arg) |
static void |
exiting(Logger logger,
Class<?> sourceClass,
String sourceMethod,
Object[] args) |
static void |
exiting(Logger logger,
String sourceClass,
String sourceMethod,
Object arg) |
static String |
format(Class<?> sourceClass,
String sourceMethod,
String format,
Object... params) |
static String |
formatDuration(long startTime,
String message) |
static long |
getCurrTimeIfDebugEnabled(Logger logger) |
static long |
getCurrTimeIfTraceEnabled(Logger logger) |
static void |
throwing(Logger logger,
Class<?> sourceClass,
String sourceMethod,
Throwable thrown) |
static void |
throwing(Logger logger,
Class<?> sourceClass,
String sourceMethod,
Throwable thrown,
String format,
Object... params) |
static void |
throwing(LogLevel level,
Logger logger,
Class<?> sourceClass,
String sourceMethod,
Throwable thrown,
String format,
Object... params) |
public static long getCurrTimeIfDebugEnabled(Logger logger)
public static long getCurrTimeIfTraceEnabled(Logger logger)
public static String format(Class<?> sourceClass, String sourceMethod, String format, Object... params)
public static void throwing(Logger logger, Class<?> sourceClass, String sourceMethod, Throwable thrown)
public static void throwing(Logger logger, Class<?> sourceClass, String sourceMethod, Throwable thrown, String format, Object... params)
public static void throwing(LogLevel level, Logger logger, Class<?> sourceClass, String sourceMethod, Throwable thrown, String format, Object... params)
public static void entering(Logger logger, Class<?> sourceClass, String sourceMethod, Object arg)
public static void entering(Logger logger, Class<?> sourceClass, String sourceMethod, Object[] args)
public static void entering(Logger logger, String sourceClass, String sourceMethod, Object[] args)
public static void exiting(Logger logger, Class<?> sourceClass, String sourceMethod, Object arg)
public static void exiting(Logger logger, String sourceClass, String sourceMethod, Object arg)
Copyright © GigaSpaces.