boost::logging::destination::rolling_file_settings Struct Reference

Settings you can pass to the rolling file. To see how it's used, see Dealing with flags.. More...

List of all members.

Public Attributes

flag::t< int > max_size_bytes
 maximum size in bytes, by default 1Mb
flag::t< int > file_count
 how many files has a rolling file, by default, 10
flag::t< bool > initial_erase
 if true, it initially erases all files from the rolling file (by default, false)
flag::t< bool > start_where_size_not_exceeded
flag::t< bool > flush_each_time
 if true, always flush after write (by default, false)
flag::t
< std::ios_base::openmode > 
extra_flags
 just in case you have some extra flags to pass, when opening each file


Detailed Description

Settings you can pass to the rolling file. To see how it's used, see Dealing with flags..

Member Data Documentation

flag::t<bool> boost::logging::destination::rolling_file_settings::start_where_size_not_exceeded

if true, it starts with the first file that hasn't exceeded the max size; otherwise, it starts with the first file (default = true)


The documentation for this struct was generated from the following file:

Copyright John Torjo © 2007
Have a question/ suggestion/ comment? Send me feedback