|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.scmchangelog.scm.util.ColorConsoleLogger
public class ColorConsoleLogger
Logger Wrapper that uses the ANSI Console Commands to add some colors.
| Constructor Summary | |
|---|---|
ColorConsoleLogger(Log realLogger)
Create a new ColorConsoleLogger that wraps a maven Log. |
|
| Method Summary | |
|---|---|
void |
debug(CharSequence content)
|
void |
debug(CharSequence content,
Throwable error)
|
void |
debug(Throwable error)
|
void |
error(CharSequence content)
|
void |
error(CharSequence content,
Throwable error)
|
void |
error(Throwable error)
|
void |
info(CharSequence content)
|
void |
info(CharSequence content,
Throwable error)
|
void |
info(Throwable error)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isWarnEnabled()
|
void |
warn(CharSequence content)
|
void |
warn(CharSequence content,
Throwable error)
|
void |
warn(Throwable error)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorConsoleLogger(Log realLogger)
logger - the 'real' logger to be wrapped.| Method Detail |
|---|
public boolean isDebugEnabled()
isDebugEnabled in interface Logpublic void debug(CharSequence content)
debug in interface Log
public void debug(CharSequence content,
Throwable error)
debug in interface Logpublic void debug(Throwable error)
debug in interface Logpublic boolean isInfoEnabled()
isInfoEnabled in interface Logpublic void info(CharSequence content)
info in interface Log
public void info(CharSequence content,
Throwable error)
info in interface Logpublic void info(Throwable error)
info in interface Logpublic boolean isWarnEnabled()
isWarnEnabled in interface Logpublic void warn(CharSequence content)
warn in interface Log
public void warn(CharSequence content,
Throwable error)
warn in interface Logpublic void warn(Throwable error)
warn in interface Logpublic boolean isErrorEnabled()
isErrorEnabled in interface Logpublic void error(CharSequence content)
error in interface Log
public void error(CharSequence content,
Throwable error)
error in interface Logpublic void error(Throwable error)
error in interface Log
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||