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 booleanstatic final StringName 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:PreprocessorLoggerLog an error message- Specified by:
errorin interfacePreprocessorLogger- Parameters:
text- the text to be output into the error log
-
info
Description copied from interface:PreprocessorLoggerLog an information message- Specified by:
infoin interfacePreprocessorLogger- Parameters:
text- the text to be output into the information log
-
warning
Description copied from interface:PreprocessorLoggerLog a warning message- Specified by:
warningin interfacePreprocessorLogger- Parameters:
text- the text to be output into the warning log
-
debug
Description copied from interface:PreprocessorLoggerLog a debug message- Specified by:
debugin interfacePreprocessorLogger- Parameters:
text- the text to be output into the information log
-