public class BufferingLog extends Object implements org.apache.maven.plugin.logging.Log
| Modifier and Type | Class and Description |
|---|---|
static class |
BufferingLog.LogLevel |
| Constructor and Description |
|---|
BufferingLog() |
BufferingLog(BufferingLog.LogLevel minLevel) |
| Modifier and Type | Method and Description |
|---|---|
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) |
SortedMap<String,Throwable> |
getAndResetLogBuffer()
Retrieves the current LogBuffer, and resets the internal state of this BufferingLog.
|
SortedMap<String,Throwable> |
getLogBuffer() |
BufferingLog.LogLevel |
getMinimumLogLevel() |
String |
getPrettyPrintedLog() |
void |
info(CharSequence content) |
void |
info(CharSequence content,
Throwable error) |
void |
info(Throwable error) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
static void |
setMinimumIntegerDigits(int minimumIntegerDigits)
Assigns the minimum number of Integer digits in the Log format.
|
void |
warn(CharSequence content) |
void |
warn(CharSequence content,
Throwable error) |
void |
warn(Throwable error) |
public BufferingLog()
public BufferingLog(BufferingLog.LogLevel minLevel)
public BufferingLog.LogLevel getMinimumLogLevel()
public SortedMap<String,Throwable> getLogBuffer()
public SortedMap<String,Throwable> getAndResetLogBuffer()
public static void setMinimumIntegerDigits(int minimumIntegerDigits)
minimumIntegerDigits - the minimum number of Integer digits in the Log format.public String getPrettyPrintedLog()
public void debug(CharSequence content, Throwable error)
debug in interface org.apache.maven.plugin.logging.Logpublic void debug(CharSequence content)
debug in interface org.apache.maven.plugin.logging.Logpublic void debug(Throwable error)
debug in interface org.apache.maven.plugin.logging.Logpublic void info(CharSequence content, Throwable error)
info in interface org.apache.maven.plugin.logging.Logpublic void info(CharSequence content)
info in interface org.apache.maven.plugin.logging.Logpublic void info(Throwable error)
info in interface org.apache.maven.plugin.logging.Logpublic void warn(CharSequence content, Throwable error)
warn in interface org.apache.maven.plugin.logging.Logpublic void warn(CharSequence content)
warn in interface org.apache.maven.plugin.logging.Logpublic void warn(Throwable error)
warn in interface org.apache.maven.plugin.logging.Logpublic void error(CharSequence content, Throwable error)
error in interface org.apache.maven.plugin.logging.Logpublic void error(CharSequence content)
error in interface org.apache.maven.plugin.logging.Logpublic void error(Throwable error)
error in interface org.apache.maven.plugin.logging.Logpublic boolean isDebugEnabled()
isDebugEnabled in interface org.apache.maven.plugin.logging.Logpublic boolean isInfoEnabled()
isInfoEnabled in interface org.apache.maven.plugin.logging.Logpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.maven.plugin.logging.Logpublic boolean isErrorEnabled()
isErrorEnabled in interface org.apache.maven.plugin.logging.LogCopyright © 2005–2015 MojoHaus. All rights reserved.