public class LoggerStub extends Object implements Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
Constructor and Description |
---|
LoggerStub() |
Modifier and Type | Method and Description |
---|---|
void |
debug(String s) |
void |
debug(String s,
Throwable throwable) |
void |
error(String s) |
void |
error(String s,
Throwable throwable) |
void |
fatalError(String s) |
void |
fatalError(String s,
Throwable throwable) |
Logger |
getChildLogger(String s) |
String |
getName() |
int |
getThreshold() |
void |
info(String s) |
void |
info(String s,
Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setThreshold(int i) |
void |
warn(String s) |
void |
warn(String s,
Throwable throwable) |
public LoggerStub()
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface Logger
public void fatalError(String s)
fatalError
in interface Logger
public void fatalError(String s, Throwable throwable)
fatalError
in interface Logger
public boolean isFatalErrorEnabled()
isFatalErrorEnabled
in interface Logger
public Logger getChildLogger(String s)
getChildLogger
in interface Logger
public int getThreshold()
getThreshold
in interface Logger
public void setThreshold(int i)
setThreshold
in interface Logger
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.