public class SysoutLogger extends PrintStreamLogger
System.out or System.err stream.| Modifier and Type | Class and Description |
|---|---|
static class |
SysoutLogger.Builder |
static class |
SysoutLogger.OutStream
The stream where the WARN messages should be printed to.
|
PrintStreamLogger.LogLevel| Constructor and Description |
|---|
SysoutLogger(java.lang.String name,
MessageFormat messageFormat,
SysoutLogger.OutStream warnStream,
boolean printLevel)
Create a new SysoutLogger instance.
|
| Modifier and Type | Method and Description |
|---|---|
static SysoutLogger.Builder |
builder() |
error, info, log, warnpublic SysoutLogger(@Nullable
java.lang.String name,
MessageFormat messageFormat,
SysoutLogger.OutStream warnStream,
boolean printLevel)
name - The name of the Logger, will be displayed in the log message if not nullmessageFormat - The argument format for the log messagewarnStream - The stream where the WARN messages should be printed toprintLevel - If the log level should be printed in the log messagepublic static SysoutLogger.Builder builder()