public class LogUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG |
static int |
FINE |
static int |
FINER |
static int |
INFO |
static int |
SEVERE |
static int |
WARNING |
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) |
static int |
toSeverity(Level level) |
public static final int SEVERE
public static final int WARNING
public static final int INFO
public static final int CONFIG
public static final int FINE
public static final int FINER
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)
public static void exiting(org.slf4j.Logger logger, Class<?> sourceClass, String sourceMethod, Object[] args)
public static int toSeverity(Level level)
Copyright © GigaSpaces.