public class SimpleLogger
extends org.slf4j.helpers.MarkerIgnoringBase
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG |
static int |
ERROR |
static int |
INFO |
static String |
LINE_SEPARATOR |
static int |
TRACE |
static int |
WARN |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg) |
void |
debug(String format,
Object arg) |
void |
debug(String format,
Object[] argArray) |
void |
debug(String format,
Object arg1,
Object arg2) |
void |
debug(String msg,
Throwable t) |
protected void |
doLog(int level,
String msg,
Throwable t) |
void |
error(String msg) |
void |
error(String format,
Object arg) |
void |
error(String format,
Object[] argArray) |
void |
error(String format,
Object arg1,
Object arg2) |
void |
error(String msg,
Throwable t) |
static int |
getLevel() |
String |
getName() |
void |
info(String msg) |
void |
info(String format,
Object arg) |
void |
info(String format,
Object[] argArray) |
void |
info(String format,
Object arg1,
Object arg2) |
void |
info(String msg,
Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
protected boolean |
isLogEnabled(int level) |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected void |
log(int level,
String msg) |
protected void |
log(int level,
String format,
Object arg) |
protected void |
log(int level,
String format,
Object[] args) |
protected void |
log(int level,
String format,
Object arg1,
Object arg2) |
protected void |
log(int level,
String msg,
Throwable t) |
protected Object |
readResolve() |
static void |
setLevel(int level) |
void |
trace(String msg) |
void |
trace(String format,
Object arg) |
void |
trace(String format,
Object[] argArray) |
void |
trace(String format,
Object arg1,
Object arg2) |
void |
trace(String msg,
Throwable t) |
void |
warn(String msg) |
void |
warn(String format,
Object arg) |
void |
warn(String format,
Object[] argArray) |
void |
warn(String format,
Object arg1,
Object arg2) |
void |
warn(String msg,
Throwable t) |
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
public static final int ERROR
public static final int WARN
public static final int INFO
public static final int DEBUG
public static final int TRACE
public static final String LINE_SEPARATOR
public static int getLevel()
public static void setLevel(int level)
public String getName()
getName
in interface org.slf4j.Logger
getName
in class org.slf4j.helpers.MarkerIgnoringBase
public boolean isTraceEnabled()
public void trace(String msg)
public boolean isDebugEnabled()
public void debug(String msg)
public boolean isInfoEnabled()
public void info(String msg)
public boolean isWarnEnabled()
public void warn(String msg)
public boolean isErrorEnabled()
public void error(String msg)
protected boolean isLogEnabled(int level)
protected void log(int level, String msg)
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.