18#ifndef _LOG4CXX_NET_SMTP_H
19#define _LOG4CXX_NET_SMTP_H
84 bool checkEntryConditions();
144 void activateOptions(helpers::Pool& p) override;
150 void append(const spi::LoggingEventPtr& event, helpers::Pool& p) override;
153 void close() override;
174 bool requiresLayout() const override;
179 void sendBuffer(LOG4CXX_NS::helpers::Pool& p);
217 void setBufferSize(
int bufferSize);
234 void setSMTPPort(
int port);
239 int getSMTPPort() const;
285 int getBufferSize() const;
292 LOG4CXX_NS::spi::TriggeringEventEvaluatorPtr getEvaluator() const;
298 void setEvaluator(LOG4CXX_NS::spi::TriggeringEventEvaluatorPtr& trigger);
313 void setLocationInfo(
bool locationInfo);
318 bool getLocationInfo() const;
Implementation base class for all appenders.
Definition: appenderskeleton.h:41
Send an e-mail when a specific logging event occurs, typically when an ERROR level logging event is s...
Definition: smtpappender.h:72
std::basic_string< logchar > LogString
Definition: logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146