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