Class SystemLogger
java.lang.Object
org.apache.maven.cling.invoker.logging.SystemLogger
- All Implemented Interfaces:
Logger
System
Logger
. Uses provided PrintStream
s or System.err
ones as fallback.
This logger is used in case of "early failures" (when no logging may be set up yet).-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.api.cli.Logger
Logger.Entry, Logger.Level
-
Constructor Summary
ConstructorsConstructorDescriptionSystemLogger
(OutputStream out) SystemLogger
(OutputStream out, Logger.Level threshold) -
Method Summary
Modifier and TypeMethodDescriptionvoid
log
(Logger.Level level, String message, Throwable error) Logs a message at the specified level with an associated exception.
-
Constructor Details
-
SystemLogger
-
SystemLogger
-
-
Method Details
-
log
Description copied from interface:Logger
Logs a message at the specified level with an associated exception.
-