mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Added the ability to truncate the basic file logger.
Added the ability to truncate the basic file logger.
This commit is contained in:
@@ -71,8 +71,8 @@ void set_sync_mode();
|
||||
//
|
||||
// Create and register multi/single basic file logger
|
||||
//
|
||||
std::shared_ptr<logger> basic_logger_mt(const std::string& logger_name, const filename_t& filename,bool force_flush = false);
|
||||
std::shared_ptr<logger> basic_logger_st(const std::string& logger_name, const filename_t& filename, bool force_flush = false);
|
||||
std::shared_ptr<logger> basic_logger_mt(const std::string& logger_name, const filename_t& filename,bool force_flush = false, bool truncate = false);
|
||||
std::shared_ptr<logger> basic_logger_st(const std::string& logger_name, const filename_t& filename, bool force_flush = false, bool truncate = false);
|
||||
|
||||
//
|
||||
// Create and register multi/single threaded rotating file logger
|
||||
|
Reference in New Issue
Block a user