18 #if !defined(_LOG4CXX_ROLLING_SIZE_BASED_TRIGGERING_POLICY_H) 19 #define _LOG4CXX_ROLLING_SIZE_BASED_TRIGGERING_POLICY_H 67 virtual bool isTriggeringEvent(
73 size_t getMaxFileSize();
75 void setMaxFileSize(
size_t l);
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
LOG4CXX_PTR_DEF(AppenderAttachableImpl)
A TriggeringPolicy controls the conditions under which rollover occurs.
Definition: triggeringpolicy.h:44
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
size_t maxFileSize
Definition: sizebasedtriggeringpolicy.h:52
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
Implement this interface for your own strategies for outputting log statements.
Definition: appender.h:55
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
SizeBasedTriggeringPolicy looks at size of the file being currently written to.
Definition: sizebasedtriggeringpolicy.h:43