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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(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:ErrorHandlerHandles an exception that arose while logging.- Specified by:
handlein interfaceErrorHandler- Parameters:
exception- the exception that occurredlogger- the logger that was being processed that caused the error to occur
-