Class LoggerMultiplexer
- java.lang.Object
-
- com.levigo.jadice.server.core.util.logging.LoggerMultiplexer
-
- All Implemented Interfaces:
org.jadice.util.log.Logger
public class LoggerMultiplexer extends Object implements org.jadice.util.log.Logger
Logger
that multiplexes log events, i.e. forwards them to several loggers.
-
-
Constructor Summary
Constructors Constructor Description LoggerMultiplexer(org.jadice.util.log.Logger... loggers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String s)
void
debug(String s, Object... objects)
void
debug(String s, Throwable throwable)
void
error(String s)
void
error(String s, Object... objects)
void
error(String s, Throwable throwable)
void
fatal(String s)
void
fatal(String s, Object... objects)
void
fatal(String s, Throwable throwable)
String
getName()
void
info(String s)
void
info(String s, Object... objects)
void
info(String s, Throwable throwable)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
void
trace(String s)
void
trace(String s, Object... objects)
void
trace(String s, Throwable throwable)
void
warn(String s)
void
warn(String s, Object... objects)
void
warn(String s, Throwable throwable)
-
-
-
Method Detail
-
debug
public void debug(String s)
- Specified by:
debug
in interfaceorg.jadice.util.log.Logger
-
debug
public void debug(String s, Object... objects)
- Specified by:
debug
in interfaceorg.jadice.util.log.Logger
-
debug
public void debug(String s, Throwable throwable)
- Specified by:
debug
in interfaceorg.jadice.util.log.Logger
-
error
public void error(String s)
- Specified by:
error
in interfaceorg.jadice.util.log.Logger
-
error
public void error(String s, Object... objects)
- Specified by:
error
in interfaceorg.jadice.util.log.Logger
-
error
public void error(String s, Throwable throwable)
- Specified by:
error
in interfaceorg.jadice.util.log.Logger
-
fatal
public void fatal(String s)
- Specified by:
fatal
in interfaceorg.jadice.util.log.Logger
-
fatal
public void fatal(String s, Object... objects)
- Specified by:
fatal
in interfaceorg.jadice.util.log.Logger
-
fatal
public void fatal(String s, Throwable throwable)
- Specified by:
fatal
in interfaceorg.jadice.util.log.Logger
-
info
public void info(String s)
- Specified by:
info
in interfaceorg.jadice.util.log.Logger
-
info
public void info(String s, Object... objects)
- Specified by:
info
in interfaceorg.jadice.util.log.Logger
-
info
public void info(String s, Throwable throwable)
- Specified by:
info
in interfaceorg.jadice.util.log.Logger
-
trace
public void trace(String s)
- Specified by:
trace
in interfaceorg.jadice.util.log.Logger
-
trace
public void trace(String s, Object... objects)
- Specified by:
trace
in interfaceorg.jadice.util.log.Logger
-
trace
public void trace(String s, Throwable throwable)
- Specified by:
trace
in interfaceorg.jadice.util.log.Logger
-
warn
public void warn(String s)
- Specified by:
warn
in interfaceorg.jadice.util.log.Logger
-
warn
public void warn(String s, Object... objects)
- Specified by:
warn
in interfaceorg.jadice.util.log.Logger
-
warn
public void warn(String s, Throwable throwable)
- Specified by:
warn
in interfaceorg.jadice.util.log.Logger
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.jadice.util.log.Logger
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.jadice.util.log.Logger
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interfaceorg.jadice.util.log.Logger
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.jadice.util.log.Logger
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceorg.jadice.util.log.Logger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.jadice.util.log.Logger
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.jadice.util.log.Logger
-
-