Package com.igormaznitsa.jcp.logger
Class SystemOutLogger
java.lang.Object
com.igormaznitsa.jcp.logger.SystemOutLogger
- All Implemented Interfaces:
PreprocessorLogger
An Easy logger which just output log messages into the system output streams
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean
static final String
Name of system property to enable debug level logging. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROPERTY_DEBUG_FLAG
Name of system property to enable debug level logging.- See Also:
-
FLAG_DEBUG_LEVEL
private static final boolean FLAG_DEBUG_LEVEL
-
-
Constructor Details
-
SystemOutLogger
public SystemOutLogger()
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
error
Description copied from interface:PreprocessorLogger
Log an error message- Specified by:
error
in interfacePreprocessorLogger
- Parameters:
text
- the text to be output into the error log
-
info
Description copied from interface:PreprocessorLogger
Log an information message- Specified by:
info
in interfacePreprocessorLogger
- Parameters:
text
- the text to be output into the information log
-
warning
Description copied from interface:PreprocessorLogger
Log a warning message- Specified by:
warning
in interfacePreprocessorLogger
- Parameters:
text
- the text to be output into the warning log
-
debug
Description copied from interface:PreprocessorLogger
Log a debug message- Specified by:
debug
in interfacePreprocessorLogger
- Parameters:
text
- the text to be output into the information log
-