Renamed default factory

This commit is contained in:
gabime 2018-04-29 00:44:35 +03:00
parent 4bee0ec294
commit 3e28d9ab5a

View File

@ -19,7 +19,7 @@
namespace spdlog { namespace spdlog {
// Default logger factory- creates synchronous loggers // Default logger factory- creates synchronous loggers
struct create_sync struct create_synchronous
{ {
template<typename Sink, typename... SinkArgs> template<typename Sink, typename... SinkArgs>
@ -32,7 +32,7 @@ struct create_sync
} }
}; };
using default_factory = create_sync; using default_factory = create_synchronous;
// Create and register a logger with a templated sink type // 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. // The logger's level, formatter and flush level will be set according the global settings.