Unverified Commit 84851e23 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update README.md

parent 52aed9e0
...@@ -88,7 +88,7 @@ int main() ...@@ -88,7 +88,7 @@ int main()
} }
``` ```
#### load log levels from env variable or from argv #### Load log levels from env variable or from argv
```c++ ```c++
#include "spdlog/cfg/env.h" #include "spdlog/cfg/env.h"
void load_levels_example() void load_levels_example()
...@@ -102,7 +102,7 @@ void load_levels_example() ...@@ -102,7 +102,7 @@ void load_levels_example()
// spdlog::cfg::load_argv_levels(args, argv); // spdlog::cfg::load_argv_levels(args, argv);
} }
``` ```
#### create stdout/stderr logger object #### Create stdout/stderr logger object
```c++ ```c++
#include "spdlog/spdlog.h" #include "spdlog/spdlog.h"
#include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/sinks/stdout_color_sinks.h"
......
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