public final class Slf4jLoggingErrorReporter extends Object implements ErrorReporter
ErrorReporter implementation that logs errors to a configured
log4j Appender.| Constructor and Description |
|---|
Slf4jLoggingErrorReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
reportError(String applicationCode,
String principal,
String description)
Reports the specified error.
|
void |
reportError(String applicationCode,
String principal,
Throwable throwable)
Reports the specified
Throwable. |
public void reportError(String applicationCode, String principal, String description)
ErrorReporterreportError in interface ErrorReporterapplicationCode - The application identifier.principal - Optional application-specific context information on the
principal incurring the error.description - Details on the error.public void reportError(String applicationCode, String principal, Throwable throwable)
ErrorReporterThrowable.reportError in interface ErrorReporterapplicationCode - The application identifier.principal - Optional application-specific context information on the
principal incurring the error.throwable - The Throwable to be reported.Copyright © 2007-2015 Jasig. All Rights Reserved.