Class SimpleLoggerAdapter
- java.lang.Object
-
- org.kordamp.maven.checker.cli.internal.SimpleLoggerAdapter
-
- All Implemented Interfaces:
org.kordamp.maven.checker.Logger
public class SimpleLoggerAdapter extends Object implements org.kordamp.maven.checker.Logger
- Since:
- 1.1.0
- Author:
- Andres Almiray
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleLoggerAdapter.Level
-
Constructor Summary
Constructors Constructor Description SimpleLoggerAdapter(PrintWriter out)
SimpleLoggerAdapter(PrintWriter out, SimpleLoggerAdapter.Level level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String message)
void
debug(String message, Object... args)
void
debug(String message, Throwable throwable)
void
error(String message)
void
error(String message, Object... args)
void
error(String message, Throwable throwable)
void
info(String message)
void
info(String message, Object... args)
void
info(String message, Throwable throwable)
void
warn(String message)
void
warn(String message, Object... args)
void
warn(String message, Throwable throwable)
-
-
-
Constructor Detail
-
SimpleLoggerAdapter
public SimpleLoggerAdapter(PrintWriter out)
-
SimpleLoggerAdapter
public SimpleLoggerAdapter(PrintWriter out, SimpleLoggerAdapter.Level level)
-
-
Method Detail
-
debug
public void debug(String message)
- Specified by:
debug
in interfaceorg.kordamp.maven.checker.Logger
-
info
public void info(String message)
- Specified by:
info
in interfaceorg.kordamp.maven.checker.Logger
-
warn
public void warn(String message)
- Specified by:
warn
in interfaceorg.kordamp.maven.checker.Logger
-
error
public void error(String message)
- Specified by:
error
in interfaceorg.kordamp.maven.checker.Logger
-
debug
public void debug(String message, Object... args)
- Specified by:
debug
in interfaceorg.kordamp.maven.checker.Logger
-
info
public void info(String message, Object... args)
- Specified by:
info
in interfaceorg.kordamp.maven.checker.Logger
-
warn
public void warn(String message, Object... args)
- Specified by:
warn
in interfaceorg.kordamp.maven.checker.Logger
-
error
public void error(String message, Object... args)
- Specified by:
error
in interfaceorg.kordamp.maven.checker.Logger
-
debug
public void debug(String message, Throwable throwable)
- Specified by:
debug
in interfaceorg.kordamp.maven.checker.Logger
-
info
public void info(String message, Throwable throwable)
- Specified by:
info
in interfaceorg.kordamp.maven.checker.Logger
-
warn
public void warn(String message, Throwable throwable)
- Specified by:
warn
in interfaceorg.kordamp.maven.checker.Logger
-
-