18 #ifndef _LOG4CXX_NET_SMTP_H
19 #define _LOG4CXX_NET_SMTP_H
27 #pragma warning ( push )
28 #pragma warning ( disable: 4251 )
58 bool checkEntryConditions();
72 spi::TriggeringEventEvaluatorPtr evaluator;
105 virtual
void activateOptions(
log4cxx::helpers::Pool& p);
114 virtual
void close();
135 virtual
bool requiresLayout() const;
178 void setBufferSize(
int bufferSize);
195 void setSMTPPort(
int port);
200 int getSMTPPort() const;
246 inline
int getBufferSize()
const
290 #if defined(_MSC_VER)
291 #pragma warning (pop)
Implementation base class for all appenders.
Definition: appenderskeleton.h:46
CyclicBuffer is used by other appenders to hold instances of LoggingEvent for immediate or deferred d...
Definition: cyclicbuffer.h:35
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
Definition: smtpappender.h:46
void setLocationInfo(bool locationInfo)
The LocationInfo option is provided for compatibility with log4j and has no effect in log4cxx.
log4cxx::spi::TriggeringEventEvaluatorPtr getEvaluator() const
Gets the current triggering evaluator.
bool getLocationInfo() const
Returns value of the LocationInfo option.
void setEvaluator(log4cxx::spi::TriggeringEventEvaluatorPtr &trigger)
Sets the triggering evaluator.
void setEvaluatorClass(const LogString &value)
The EvaluatorClass option takes a string value representing the name of the class implementing the sp...
LOG4CXX_PTR_DEF(SMTPAppender)
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
Definition: appender.h:33
std::basic_string< logchar > LogString
Definition: logstring.h:66
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136