public class LoggerMultiplexer extends Object implements com.levigo.util.log.Logger
Logger
that multiplexes log events, i.e. forwards them
to several loggers.Constructor and Description |
---|
LoggerMultiplexer(com.levigo.util.log.Logger... loggers) |
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 |
fatal(String s) |
void |
fatal(String s,
Throwable throwable) |
String |
getName() |
void |
info(String s) |
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,
Throwable throwable) |
void |
warn(String s) |
void |
warn(String s,
Throwable throwable) |
public LoggerMultiplexer(com.levigo.util.log.Logger... loggers)
public void debug(String s)
debug
in interface com.levigo.util.log.Logger
public void debug(String s, Throwable throwable)
debug
in interface com.levigo.util.log.Logger
public void error(String s)
error
in interface com.levigo.util.log.Logger
public void error(String s, Throwable throwable)
error
in interface com.levigo.util.log.Logger
public void fatal(String s)
fatal
in interface com.levigo.util.log.Logger
public void fatal(String s, Throwable throwable)
fatal
in interface com.levigo.util.log.Logger
public void info(String s)
info
in interface com.levigo.util.log.Logger
public void info(String s, Throwable throwable)
info
in interface com.levigo.util.log.Logger
public void trace(String s)
trace
in interface com.levigo.util.log.Logger
public void trace(String s, Throwable throwable)
trace
in interface com.levigo.util.log.Logger
public void warn(String s)
warn
in interface com.levigo.util.log.Logger
public void warn(String s, Throwable throwable)
warn
in interface com.levigo.util.log.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface com.levigo.util.log.Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface com.levigo.util.log.Logger
public boolean isFatalEnabled()
isFatalEnabled
in interface com.levigo.util.log.Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface com.levigo.util.log.Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface com.levigo.util.log.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface com.levigo.util.log.Logger
public String getName()
getName
in interface com.levigo.util.log.Logger
Copyright © 2017 levigo holding gmbh. All rights reserved.