public class DefaultLog extends Object implements ScmLogger
Constructor and Description |
---|
DefaultLog() |
DefaultLog(boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String content) |
void |
debug(String content,
Throwable error) |
void |
debug(Throwable error) |
void |
error(String content) |
void |
error(String content,
Throwable error) |
void |
error(Throwable error) |
void |
info(String content) |
void |
info(String content,
Throwable error) |
void |
info(Throwable error) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
warn(String content) |
void |
warn(String content,
Throwable error) |
void |
warn(Throwable error) |
public DefaultLog()
public DefaultLog(boolean debug)
public boolean isDebugEnabled()
isDebugEnabled
in interface ScmLogger
public boolean isInfoEnabled()
isInfoEnabled
in interface ScmLogger
public boolean isWarnEnabled()
isWarnEnabled
in interface ScmLogger
public boolean isErrorEnabled()
isErrorEnabled
in interface ScmLogger
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.