- All Implemented Interfaces:
Logger
public class StandardLogger
extends Object
implements Logger
Simple maven-independent logger implementation, e.g., for tests.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StandardLogger
public StandardLogger()
-
Method Details
-
warn
public void warn(String warning)
Description copied from interface: Logger
Logs a warning.
- Specified by:
warn in interface Logger
- Parameters:
warning - the warning
-
error
public void error(String error)
Description copied from interface: Logger
Logs an error.
- Specified by:
error in interface Logger
- Parameters:
error - the error
-
error
Description copied from interface: Logger
Logs a throwable.
- Specified by:
error in interface Logger
- Parameters:
throwable - the throwable
-
info
Description copied from interface: Logger
Logs an information.
- Specified by:
info in interface Logger
- Parameters:
info - the information