public abstract class MailManager extends AbstractManager
Modifier and Type | Class and Description |
---|---|
static class |
MailManager.FactoryData |
AbstractManager.AbstractFactoryData
count, LOGGER
Constructor and Description |
---|
MailManager(LoggerContext loggerContext,
String name) |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(LogEvent event)
Adds an event to the cyclic buffer.
|
abstract void |
sendEvents(Layout<?> layout,
LogEvent appendEvent)
Send the contents of the cyclic buffer as an e-mail message.
|
close, getContentFormat, getCount, getLoggerContext, getManager, getName, getStrSubstitutor, hasManager, log, logDebug, logError, logger, logWarn, narrow, release, releaseSub, stop, updateData
public MailManager(LoggerContext loggerContext, String name)
public abstract void add(LogEvent event)
event
- The event to add. Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.