Class PrintStreamLogger
java.lang.Object
com.reposilite.journalist.backend.DefaultLogger
com.reposilite.journalist.backend.PrintStreamLogger
- All Implemented Interfaces:
Journalist,Logger
Uses
System.in and System.err to log messages-
Field Summary
Fields inherited from class com.reposilite.journalist.backend.DefaultLogger
threshold -
Constructor Summary
ConstructorsConstructorDescriptionPrintStreamLogger(PrintStream out, PrintStream err) UsesChannel.INFOas default threshold.PrintStreamLogger(PrintStream out, PrintStream err, Channel threshold, boolean newline) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinternalLog(Channel channel, String message) Internal method used byDefaultLoggerto send processed message to the final implementation.Methods inherited from class com.reposilite.journalist.backend.DefaultLogger
exception, getLogger, log, setThreshold, toPrintStream
-
Constructor Details
-
PrintStreamLogger
-
PrintStreamLogger
UsesChannel.INFOas default threshold.
-
-
Method Details
-
internalLog
Description copied from class:DefaultLoggerInternal method used byDefaultLoggerto send processed message to the final implementation.- Specified by:
internalLogin classDefaultLogger- Parameters:
channel- the channel to log tomessage- the message to log
-