Commit 6f1dc624 authored by gabime's avatar gabime

fix example

parent 7378cc29
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#define SPDLOG_TRACE_ON #define SPDLOG_TRACE_ON
#define SPDLOG_DEBUG_ON #define SPDLOG_DEBUG_ON
#include "spdlog/async.h"
#include "spdlog/spdlog.h" #include "spdlog/spdlog.h"
#include <iostream> #include <iostream>
...@@ -103,7 +103,8 @@ int main(int, char *[]) ...@@ -103,7 +103,8 @@ int main(int, char *[])
return 1; return 1;
} }
} }
// must be included to use async logger
#include "spdlog/async.h"
void async_example() void async_example()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment