public class Logger extends Object
Created by IntelliJ IDEA. User: luog Date: 19/01/12 Time: 3:32 PM To change this template use File | Settings | File Templates.
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(String format,
Object... args) |
static void |
debug(Throwable t,
String format,
Object... args) |
static void |
error(String format,
Object... arg) |
static void |
error(Throwable t,
String format,
Object... args) |
static ILogger |
get(Class<?> clazz) |
static void |
info(String format,
Object... arg) |
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 |
registerLoggerFactory(ILoggerFactory fact) |
static void |
reset() |
static void |
trace(String format,
Object... args) |
static void |
trace(Throwable t,
String format,
Object... args) |
static void |
warn(String format,
Object... arg) |
static void |
warn(Throwable t,
String format,
Object... args) |
public static void registerLoggerFactory(ILoggerFactory fact)
public static void reset()
public static boolean isTraceEnabled()
public static boolean isDebugEnabled()
public static boolean isInfoEnabled()
public static boolean isWarnEnabled()
public static boolean isErrorEnabled()
Copyright © 2017–2021 OSGL (Open Source General Library). All rights reserved.