RollingFileAppender.hpp
Go to the documentation of this file.
1 #ifndef ROLLINGFILEAPPENDER_HPP
2 #define ROLLINGFILEAPPENDER_HPP 1
3 
4 #include "Appender.hpp"
5 #include <rtt/Property.hpp>
6 
7 namespace OCL {
8 namespace logging {
9 
11 {
12 public:
13  RollingFileAppender(std::string name);
14  virtual ~RollingFileAppender();
15 protected:
17  virtual bool configureHook();
19  virtual void updateHook();
21  virtual void cleanupHook();
22 
33 
44 };
45 
46 // namespaces
47 }
48 }
49 
50 #endif
virtual bool configureHook()
Create log4cpp appender.
RTT::Property< int > maxBackupIndex_prop
Maximum number of backup files to keep.
RTT::Property< std::string > filename_prop
Name of file to append to.
virtual void cleanupHook()
Destroy appender.
RTT::Property< int > maxFileSize_prop
Maximum file size (in bytes) before rolling over.
virtual void updateHook()
Process at most maxEventsPerCycle event.


ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:19