diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 7e49724d..b9f6b3a4 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -19,7 +19,7 @@ namespace spdlog { // Default logger factory- creates synchronous loggers -struct default_factory +struct create_sync { template @@ -32,6 +32,8 @@ struct default_factory } }; +using default_factory = create_sync; + // Create and register a logger with a templated sink type // The logger's level, formatter and flush level will be set according the global settings. // Example: