Added "basic_logger_mt/basic_logger_st" to the API

This commit is contained in:
gabime
2016-06-22 00:23:55 +03:00
parent cef7eb0667
commit a047b58e65
5 changed files with 32 additions and 2 deletions

View File

@@ -62,6 +62,13 @@ void set_async_mode(size_t queue_size, const async_overflow_policy overflow_poli
// Turn off async mode
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);
//
// Create and register multi/single threaded rotating file logger
//