RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
Datacratic::FileOutput Struct Reference

#include <file_output.h>

Inheritance diagram for Datacratic::FileOutput:
Datacratic::NamedOutput Datacratic::CompressingOutput Datacratic::WorkerThreadOutput Datacratic::LogOutput

List of all members.

Public Member Functions

 FileOutput (const std::string &filename="", size_t ringBufferSize=65536)
virtual std::shared_ptr< SinkcreateSink (const std::string &filename, bool append)

Detailed Description

Class that logs messages into a file, optionally gzipped or otherwise compressed.

The file writing is provided in another thread to avoid the entire logger getting bogged down if a disk can't keep up.

Definition at line 113 of file file_output.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator