diff options
Diffstat (limited to 'include/crow/app.h')
-rw-r--r-- | include/crow/app.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/crow/app.h b/include/crow/app.h index cb72d3a..b454bf0 100644 --- a/include/crow/app.h +++ b/include/crow/app.h @@ -134,6 +134,12 @@ namespace crow router_.debug_print(); } + self_t& loglevel(crow::LogLevel level) + { + crow::logger::setLogLevel(level); + return *this; + } + #ifdef CROW_ENABLE_SSL self_t& ssl_file(const std::string& crt_filename, const std::string& key_filename) { |