Public Member Functions | |
rolling_file_t (const std::string &name_prefix, rolling_file_settings flags=rolling_file_settings()) | |
void | flush () |
void | configure (const hold_string_type &str) |
We first write to name_prefix.1.
The log has a max_size. When max_size is reached, we start writing to name_prefix.2. When max_size is reached, we start writing to name_prefix.3. And so on, until we reach name_prefix.N (N = file_count). When that gets fool, we start over, with name_prefix.1.
boost::logging::destination::rolling_file_t< convert_dest >::rolling_file_t | ( | const std::string & | name_prefix, | |
rolling_file_settings | flags = rolling_file_settings() | |||
) | [inline] |
Constructs a rolling file
name_prefix | the name to be used as prefix for the files | |
flags | [optional] extra settings to pass to the rolling file. See rolling_file_settings and Dealing with flags.. |
void boost::logging::destination::rolling_file_t< convert_dest >::flush | ( | ) | [inline] |
manual flush()ing the currently opened file.
void boost::logging::destination::rolling_file_t< convert_dest >::configure | ( | const hold_string_type & | str | ) | [inline, virtual] |
configure through script right now, you can only specify the file name prefix
Reimplemented from boost::logging::manipulator::is_generic.