Update README.md

This commit is contained in:
Gabi Melman 2020-04-26 09:26:52 +03:00 committed by GitHub
parent 224de0601e
commit 1f732585b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -341,7 +341,7 @@ void android_example()
#### Load log levels from env variable or from argv
```c++
#include "spdlog/cfg/env.h"
void load_levels_example()
int main (int argc, char *argv[])
{
// Set the log level to "info" and mylogger to to "trace":
// SPDLOG_LEVEL=info,mylogger=trace && ./example