18 #include <aws/core/Aws.h> 19 #include <aws/logs/model/InputLogEvent.h> 34 namespace CloudWatchLogs {
76 bool start()
override;
bool publishBatchedData() override
Services the log manager by performing periodic tasks when called. Calling the Service function allow...
static const size_t kDefaultTriggerSize
std::shared_ptr< Aws::FileManagement::FileManager< LogCollection > > log_file_manager_
~LogBatcher() override
Tears down a LogBatcher object.
LogBatcher(size_t max_allowable_batch_size=DataBatcher::kDefaultMaxBatchSize, size_t publish_trigger_size=DataBatcher::kDefaultTriggerSize)
Creates a new LogBatcher Creates a new LogBatcher that will group/buffer logs. Note: logs are only au...
void emptyCollection() override
LogBatcher & operator=(const LogBatcher &other)=delete
static const size_t kDefaultMaxBatchSize
virtual void setLogFileManager(std::shared_ptr< Aws::FileManagement::FileManager< LogCollection >> log_file_manager)
Contains Error handling functionality for ROS AWS CloudWatch Logs libraries.