diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index a2025290..c153b93f 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -70,14 +70,14 @@ void set_sync_mode(); // // Create multi/single threaded rotating file logger // -std::shared_ptr rotating_logger_mt(const std::string& logger_name, const std::string& filename, size_t max_file_size, size_t max_files, bool auto_fush = false); -std::shared_ptr rotating_logger_st(const std::string& logger_name, const std::string& filename, size_t max_file_size, size_t max_files, bool auto_fush = false); +std::shared_ptr rotating_logger_mt(const std::string& logger_name, const std::string& filename, size_t max_file_size, size_t max_files, bool auto_flush = false); +std::shared_ptr rotating_logger_st(const std::string& logger_name, const std::string& filename, size_t max_file_size, size_t max_files, bool auto_flush = false); // // Create file logger which creates new file at midnight): // -std::shared_ptr daily_logger_mt(const std::string& logger_name, const std::string& filename, bool auto_fush = false); -std::shared_ptr daily_logger_st(const std::string& logger_name, const std::string& filename, bool auto_fush = false); +std::shared_ptr daily_logger_mt(const std::string& logger_name, const std::string& filename, bool auto_flush = false); +std::shared_ptr daily_logger_st(const std::string& logger_name, const std::string& filename, bool auto_flush = false); //