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;
92 SMTPAppender(spi::TriggeringEventEvaluatorPtr evaluator);
114 virtual void close();
135 virtual bool requiresLayout()
const;
169 void setSubject(
const LogString& subject);
178 void setBufferSize(
int bufferSize);
184 void setSMTPHost(
const LogString& smtpHost);
195 void setSMTPPort(
int port);
200 int getSMTPPort()
const;
225 void setSMTPUsername(
const LogString& newVal);
236 void setSMTPPassword(
const LogString& newVal);
256 log4cxx::spi::TriggeringEventEvaluatorPtr getEvaluator()
const;
262 void setEvaluator(log4cxx::spi::TriggeringEventEvaluatorPtr& trigger);
271 void setEvaluatorClass(
const LogString& value);
277 void setLocationInfo(
bool locationInfo);
282 bool getLocationInfo()
const;
290 #if defined(_MSC_VER) 291 #pragma warning (pop) 294 #endif // _LOG4CXX_NET_SMTP_H #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors...
Definition: smtpappender.h:45
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
Implementation base class for all appenders.
Definition: appenderskeleton.h:43
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
CyclicBuffer is used by other appenders to hold instances of LoggingEvent for immediate or deferred d...
Definition: cyclicbuffer.h:34
int getBufferSize() const
Returns value of the BufferSize option.
Definition: smtpappender.h:246
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
LOG4CXX_PTR_DEF(SMTPAppender)
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66