public class SystemOutLogger extends java.lang.Object implements PreprocessorLogger
Modifier and Type | Field and Description |
---|---|
private static boolean |
FLAG_DEBUG_LEVEL |
static java.lang.String |
PROPERTY_DEBUG_FLAG
Name of system property to enable debug level logging.
|
Constructor and Description |
---|
SystemOutLogger() |
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String text)
Log a debug message
|
void |
error(java.lang.String text)
Log an error message
|
void |
info(java.lang.String text)
Log an information message
|
void |
warning(java.lang.String text)
Log a warning message
|
public static final java.lang.String PROPERTY_DEBUG_FLAG
private static final boolean FLAG_DEBUG_LEVEL
public void error(java.lang.String text)
PreprocessorLogger
error
in interface PreprocessorLogger
text
- the text to be output into the error logpublic void info(java.lang.String text)
PreprocessorLogger
info
in interface PreprocessorLogger
text
- the text to be output into the information logpublic void warning(java.lang.String text)
PreprocessorLogger
warning
in interface PreprocessorLogger
text
- the text to be output into the warning logpublic void debug(java.lang.String text)
PreprocessorLogger
debug
in interface PreprocessorLogger
text
- the text to be output into the information log