Merge branch 'v1.x' of https://github.com/gabime/spdlog into std-format

This commit is contained in:
Charles Milette
2021-11-16 11:30:23 -05:00
11 changed files with 68 additions and 38 deletions

View File

@@ -302,12 +302,13 @@ struct source_loc
const char *funcname{nullptr};
};
typedef struct
struct file_event_handlers
{
std::function<void(const filename_t &filename)> before_open;
std::function<void(const filename_t &filename, std::FILE *file_stream)> after_open;
std::function<void(const filename_t &filename, std::FILE *file_stream)> before_close;
std::function<void(const filename_t &filename)> after_close;
} file_event_handlers_t;
};
namespace details {
// make_unique support for pre c++14