org.jpos.util
Class Log
java.lang.Object
org.jpos.util.Log
- All Implemented Interfaces:
- LogSource
- Direct Known Subclasses:
- BSHRequestListener, Debug, DummyPackager, FSDPackager, JESpace
public class Log
- extends Object
- implements LogSource
Represents a LogSource and adds several helpers
- Version:
- $Revision$ $Date$
- Author:
- apr@cs.com.uy
- See Also:
LogSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
realm
protected String realm
TRACE
public static final String TRACE
- See Also:
- Constant Field Values
DEBUG
public static final String DEBUG
- See Also:
- Constant Field Values
INFO
public static final String INFO
- See Also:
- Constant Field Values
WARN
public static final String WARN
- See Also:
- Constant Field Values
ERROR
public static final String ERROR
- See Also:
- Constant Field Values
FATAL
public static final String FATAL
- See Also:
- Constant Field Values
Log
public Log()
Log
public Log(Logger logger,
String realm)
getLog
public static Log getLog(String logName,
String realm)
setLogger
public void setLogger(Logger logger,
String realm)
- Specified by:
setLogger in interface LogSource
getRealm
public String getRealm()
- Specified by:
getRealm in interface LogSource
getLogger
public Logger getLogger()
- Specified by:
getLogger in interface LogSource
setLogger
public void setLogger(Logger logger)
setRealm
public void setRealm(String realm)
trace
public void trace(Object detail)
trace
public void trace(Object detail,
Object obj)
debug
public void debug(Object detail)
debug
public void debug(Object detail,
Object obj)
info
public void info(Object detail)
info
public void info(Object detail,
Object obj)
warn
public void warn(Object detail)
warn
public void warn(Object detail,
Object obj)
error
public void error(Object detail)
error
public void error(Object detail,
Object obj)
fatal
public void fatal(Object detail)
fatal
public void fatal(Object detail,
Object obj)
createLogEvent
public LogEvent createLogEvent(String level)
createLogEvent
public LogEvent createLogEvent(String level,
Object detail)
createTrace
public LogEvent createTrace()
createTrace
public LogEvent createTrace(Object detail)
createDebug
public LogEvent createDebug()
createDebug
public LogEvent createDebug(Object detail)
createInfo
public LogEvent createInfo()
createInfo
public LogEvent createInfo(Object detail)
createWarn
public LogEvent createWarn()
createWarn
public LogEvent createWarn(Object detail)
createError
public LogEvent createError()
createError
public LogEvent createError(Object detail)
createFatal
public LogEvent createFatal()
createFatal
public LogEvent createFatal(Object detail)
Copyright © 1998-2012 jPOS.org. All Rights Reserved.