| Modifier and Type | Method and Description |
|---|---|
static void |
debug(String msg) |
static void |
debug(String format,
Object... args) |
static void |
debug(Throwable t,
String msg) |
static void |
debug(Throwable t,
String format,
Object... args) |
static void |
error(String msg) |
static void |
error(String format,
Object... args) |
static void |
error(Throwable t,
String msg) |
static void |
error(Throwable t,
String format,
Object... args) |
static void |
fatal(String msg) |
static void |
fatal(String format,
Object... args) |
static void |
fatal(Throwable t,
String msg) |
static void |
fatal(Throwable t,
String format,
Object... args) |
static Logger |
get(Class<?> clazz)
Get a Logger instance by class
|
static Logger |
get(String name) |
static void |
info(String msg) |
static void |
info(String format,
Object... args) |
static void |
info(Throwable t,
String msg) |
static void |
info(Throwable t,
String format,
Object... args) |
static boolean |
isDebugEnabled() |
static boolean |
isErrorEnabled() |
static boolean |
isInfoEnabled() |
static boolean |
isTraceEnabled() |
static boolean |
isWarnEnabled() |
static void |
registerLogServiceProvider(LogServiceProvider fact) |
static void |
reset() |
static void |
trace(String msg) |
static void |
trace(String format,
Object... args) |
static void |
trace(Throwable t,
String msg) |
static void |
trace(Throwable t,
String format,
Object... args) |
static void |
warn(String msg) |
static void |
warn(String format,
Object... args) |
static void |
warn(Throwable t,
String msg) |
static void |
warn(Throwable t,
String format,
Object... args) |
public static Logger get(Class<?> clazz)
Get a Logger instance by class
clazz - the class to get the logger instancepublic static void registerLogServiceProvider(LogServiceProvider fact)
public static void reset()
public static boolean isTraceEnabled()
public static void trace(String msg)
public static boolean isDebugEnabled()
public static void debug(String msg)
public static boolean isInfoEnabled()
public static void info(String msg)
public static boolean isWarnEnabled()
public static void warn(String msg)
public static boolean isErrorEnabled()
public static void error(String msg)
public static void fatal(String msg)
Copyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.