public class ConsoleLogAdapter extends Object implements LogAdapter
Constructor and Description |
---|
ConsoleLogAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message,
Object... args) |
void |
error(String message,
Object... args) |
OutputStream |
getErrorOutputStream() |
OutputStream |
getOutputStream() |
void |
info(InputStream inputStream) |
void |
info(String message,
Object... args) |
boolean |
isDebugEnabled() |
void |
setDebug(boolean debug) |
void |
warn(String warnMessage,
Object... args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
format
public void warn(String warnMessage, Object... args)
warn
in interface LogAdapter
public void error(String message, Object... args)
error
in interface LogAdapter
public void debug(String message, Object... args)
debug
in interface LogAdapter
public void info(String message, Object... args)
info
in interface LogAdapter
public void info(InputStream inputStream)
info
in interface LogAdapter
public boolean isDebugEnabled()
isDebugEnabled
in interface LogAdapter
public OutputStream getErrorOutputStream()
public void setDebug(boolean debug)
public OutputStream getOutputStream()
Copyright © 2021. All rights reserved.