public class Slf4jLoggingErrorReporter extends java.lang.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(java.lang.String applicationCode,
java.lang.String principal,
java.lang.String description)
Reports the specified error.
|
void |
reportError(java.lang.String applicationCode,
java.lang.String principal,
java.lang.Throwable throwable)
Reports the specified
Throwable. |
public void reportError(java.lang.String applicationCode,
java.lang.String principal,
java.lang.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(java.lang.String applicationCode,
java.lang.String principal,
java.lang.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-2017 Apereo. All Rights Reserved.