Commit 145fc367 authored by gabime's avatar gabime

updated example

parent a21594be
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
void async_example(); void async_example();
void user_defined_example(); void user_defined_example();
void err_handler_example(); void err_handler_example();
void syslog_example();
namespace spd = spdlog; namespace spd = spdlog;
int main(int, char *[]) int main(int, char *[])
...@@ -28,6 +29,7 @@ int main(int, char *[]) ...@@ -28,6 +29,7 @@ int main(int, char *[])
try try
{ {
syslog_example();
auto console = spdlog::stdout_color_st("console"); auto console = spdlog::stdout_color_st("console");
console->info("Welcome to spdlog!"); console->info("Welcome to spdlog!");
......
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