rename file_event_handlers_t to file_event_handlers

This commit is contained in:
gabime
2021-11-16 16:41:04 +02:00
parent e86be93b4a
commit 5b7dfefc7e
11 changed files with 25 additions and 25 deletions

View File

@@ -310,8 +310,8 @@ void custom_flags_example()
void file_events_example()
{
// pass the spdlog::file_event_handlers_t to file sinks for open/close log file notifications
spdlog::file_event_handlers_t handlers;
// pass the spdlog::file_event_handlers to file sinks for open/close log file notifications
spdlog::file_event_handlers handlers;
handlers.before_open = [](spdlog::filename_t filename) { spdlog::info("Before opening {}", filename); };
handlers.after_open = [](spdlog::filename_t filename, std::FILE *fstream) {
spdlog::info("After opening {}", filename);