bitz-server  2.0.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
spdlog::details::file_helper Class Reference

Public Member Functions

 file_helper (const file_helper &)=delete
 
file_helperoperator= (const file_helper &)=delete
 
void open (const filename_t &fname, bool truncate=false)
 
void reopen (bool truncate)
 
void flush ()
 
void close ()
 
void write (const log_msg &msg)
 
size_t size () const
 
const filename_t & filename () const
 

Static Public Member Functions

static bool file_exists (const filename_t &fname)
 
static std::tuple< filename_t, filename_t > split_by_extenstion (const spdlog::filename_t &fname)
 

Public Attributes

const int open_tries = 5
 
const int open_interval = 10