Class ErrorPrinter
java.lang.Object
edu.wpi.first.epilogue.logging.errors.ErrorPrinter
- All Implemented Interfaces:
ErrorHandler
An error handler implementation that prints error information to the console.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(Throwable exception, ClassSpecificLogger<?> logger) Handles an exception that arose while logging.
-
Constructor Details
-
ErrorPrinter
public ErrorPrinter()Default constructor.
-
-
Method Details
-
handle
Description copied from interface:ErrorHandler
Handles an exception that arose while logging.- Specified by:
handle
in interfaceErrorHandler
- Parameters:
exception
- the exception that occurredlogger
- the logger that was being processed that caused the error to occur
-