Class StderrErrorLogger
- java.lang.Object
-
- com.github.fracpete.processoutput4j.core.impl.StderrErrorLogger
-
- All Implemented Interfaces:
ErrorLogger,java.io.Serializable
public class StderrErrorLogger extends java.lang.Object implements java.io.Serializable, ErrorLogger
Simply outputs the errors on stderr.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StderrErrorLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlogError(java.lang.String msg)Logs the message.voidlogError(java.lang.String msg, java.lang.Throwable t)Logs the message and throwable.
-
-
-
Method Detail
-
logError
public void logError(java.lang.String msg)
Logs the message.- Specified by:
logErrorin interfaceErrorLogger- Parameters:
msg- the message to output
-
logError
public void logError(java.lang.String msg, java.lang.Throwable t)Logs the message and throwable.- Specified by:
logErrorin interfaceErrorLogger- Parameters:
msg- the message to outputt- the exception
-
-