public class SimpleLogSource extends java.lang.Object implements LogSource
LogSource
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
protected java.lang.String |
realm |
Constructor and Description |
---|
SimpleLogSource() |
SimpleLogSource(Logger logger,
java.lang.String realm) |
Modifier and Type | Method and Description |
---|---|
void |
error(java.lang.String detail) |
void |
error(java.lang.String detail,
java.lang.Object obj) |
Logger |
getLogger() |
java.lang.String |
getRealm() |
void |
info(java.lang.String detail) |
void |
info(java.lang.String detail,
java.lang.Object obj) |
void |
setLogger(Logger logger,
java.lang.String realm) |
void |
setRealm(java.lang.String realm) |
void |
warning(java.lang.String detail) |
void |
warning(java.lang.String detail,
java.lang.Object obj) |
protected Logger logger
protected java.lang.String realm
public SimpleLogSource()
public SimpleLogSource(Logger logger, java.lang.String realm)
public void setLogger(Logger logger, java.lang.String realm)
public void setRealm(java.lang.String realm)
public void info(java.lang.String detail)
public void info(java.lang.String detail, java.lang.Object obj)
public void warning(java.lang.String detail)
public void warning(java.lang.String detail, java.lang.Object obj)
public void error(java.lang.String detail)
public void error(java.lang.String detail, java.lang.Object obj)