mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
Update async.h
This commit is contained in:
parent
001e22ebee
commit
a23eb3769a
@ -51,7 +51,7 @@ inline std::shared_ptr<spdlog::logger> create_async_logger(const std::string &lo
|
|||||||
return create_async::create<Sink>(logger_name, std::forward<SinkArgs>(sink_args)...);
|
return create_async::create<Sink>(logger_name, std::forward<SinkArgs>(sink_args)...);
|
||||||
}
|
}
|
||||||
|
|
||||||
// set global thread pool. q_size must be power of 2
|
// set global thread pool.
|
||||||
inline void init_thread_pool(size_t q_size, size_t thread_count)
|
inline void init_thread_pool(size_t q_size, size_t thread_count)
|
||||||
{
|
{
|
||||||
using details::registry;
|
using details::registry;
|
||||||
|
Loading…
Reference in New Issue
Block a user