mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Renamed default factory
This commit is contained in:
parent
4bee0ec294
commit
3e28d9ab5a
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user