Interface EmailLogRenderer
- All Known Implementing Classes:
SanitizedEmailLogRenderer
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a debug message representing the given email.voidLog a debug message.voidLog an error message representing the given email.voidLog a error message.voidLog an info message representing the given email.voidLog an info message.registerLogger(org.slf4j.Logger logger) Register a logger to be used in alternative to the one from the class.voidLog a trace message representing the given email.voidLog a trace message.voidLog a warning message representing the given email.voidLog a warning message.
-
Method Details
-
registerLogger
Register a logger to be used in alternative to the one from the class.- Parameters:
logger- The logger to be used.
-
trace
Log a trace message.If the logger is currently enabled for the trace message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
message- The string message (or a key in the message catalog)email- Email to be loggedmessageParams- Additional objects to be injected in the message template
-
trace
Log a trace message representing the given email.If the logger is currently enabled for the trace message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
email- Email to be logged
-
debug
Log a debug message.If the logger is currently enabled for the debug message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
message- The string message (or a key in the message catalog)email- Email to be loggedmessageParams- Additional objects to be injected in the message template
-
debug
Log a debug message representing the given email.If the logger is currently enabled for the debug message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
email- Email to be logged
-
info
Log an info message.If the logger is currently enabled for the info message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
message- The string message (or a key in the message catalog)email- Email to be loggedmessageParams- Additional objects to be injected in the message template
-
info
Log an info message representing the given email.If the logger is currently enabled for the info message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
email- Email to be logged
-
warn
Log a warning message.If the logger is currently enabled for the warning message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
message- The string message (or a key in the message catalog)email- Email to be loggedmessageParams- Additional objects to be injected in the message template
-
warn
Log a warning message representing the given email.If the logger is currently enabled for the warning message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
email- Email to be logged
-
error
Log a error message.If the logger is currently enabled for the error message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
message- The string message (or a key in the message catalog)email- Email to be loggedmessageParams- Additional objects to be injected in the message template
-
error
Log an error message representing the given email.If the logger is currently enabled for the error message level then the given message is forwarded to all the registered output Handler objects.
- Parameters:
email- Email to be logged
-