aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example.cpp')
-rw-r--r--examples/example.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example.cpp b/examples/example.cpp
index 87231a2..1355b03 100644
--- a/examples/example.cpp
+++ b/examples/example.cpp
@@ -163,8 +163,8 @@ int main()
return std::string(512*1024, ' ');
});
- // ignore all log
- crow::logger::setLogLevel(crow::LogLevel::DEBUG);
+ // enables all log
+ app.loglevel(crow::LogLevel::DEBUG);
//crow::logger::setHandler(std::make_shared<ExampleLogHandler>());
app.port(18080)