mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Renamed default factory
This commit is contained in:
parent
e500fa013f
commit
b3a23039b1
@ -19,7 +19,7 @@
|
|||||||
namespace spdlog {
|
namespace spdlog {
|
||||||
|
|
||||||
// Default logger factory- creates synchronous loggers
|
// Default logger factory- creates synchronous loggers
|
||||||
struct default_factory
|
struct create_sync
|
||||||
{
|
{
|
||||||
template<typename Sink, typename... SinkArgs>
|
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
|
// 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.
|
||||||
// Example:
|
// Example:
|
||||||
|
Loading…
Reference in New Issue
Block a user