Package org.apache.maven.cling.invoker
Class ProtoLogger
java.lang.Object
org.apache.maven.cling.invoker.ProtoLogger
- All Implemented Interfaces:
Logger
Proto
Logger. Uses provided PrintStreams or System ones as fallback.
Supports only two levels: ERROR and WARNING, that is emitted to STDERR and STDOUT.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.api.cli.Logger
Logger.Level -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlog(Logger.Level level, String message, Throwable error) Logs a message at the specified level with an associated exception.
-
Constructor Details
-
ProtoLogger
public ProtoLogger() -
ProtoLogger
-
-
Method Details
-
log
Description copied from interface:LoggerLogs a message at the specified level with an associated exception.
-