public interface ExceptionLogger
For a richer alternative check WebErrorHandlerPostProcessor.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExceptionLogger.NoOp
A NoOp implementation for
ExceptionLoggers. |
| Modifier and Type | Method and Description |
|---|---|
void |
log(Throwable exception)
Actually logs the exception.
|
void log(@Nullable
Throwable exception)
Please note that the method parameter is nullable.
exception - The exception to log.Copyright © 2019. All rights reserved.