Renamed default factory

This commit is contained in:
gabime 2018-04-29 00:42:24 +03:00
parent e500fa013f
commit b3a23039b1

View File

@ -19,7 +19,7 @@
namespace spdlog {
// Default logger factory- creates synchronous loggers
struct default_factory
struct create_sync
{
template<typename Sink, typename... SinkArgs>
@ -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: