mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
example
This commit is contained in:
parent
2be33c19fc
commit
cd9773fcf4
@ -60,7 +60,7 @@ int main(int argc, char* argv[])
|
|||||||
auto null_sink = std::make_shared<sinks::null_sink>();
|
auto null_sink = std::make_shared<sinks::null_sink>();
|
||||||
//auto async = std::make_shared<sinks::async_sink>(1000);
|
//auto async = std::make_shared<sinks::async_sink>(1000);
|
||||||
//async->add_sink(fsink);
|
//async->add_sink(fsink);
|
||||||
my_logger.add_sink(null_sink);
|
my_logger.add_sink(fsink);
|
||||||
auto start = system_clock::now();
|
auto start = system_clock::now();
|
||||||
|
|
||||||
const unsigned int howmany = 10000000;
|
const unsigned int howmany = 10000000;
|
||||||
|
Loading…
Reference in New Issue
Block a user