From 1f732585b22f3efed0e9c804ea43993a8152fbc1 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 26 Apr 2020 09:26:52 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e36b834..c4f872ca 100644 --- a/README.md +++ b/README.md @@ -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