Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:24:42

0001 // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
0002 // Distributed under the MIT License (http://opensource.org/licenses/MIT)
0003 
0004 #pragma once
0005 
0006 #include <spdlog/common.h>
0007 #include <unordered_map>
0008 
0009 namespace spdlog {
0010 namespace cfg {
0011 namespace helpers {
0012 //
0013 // Init levels from given string
0014 //
0015 // Examples:
0016 //
0017 // set global level to debug: "debug"
0018 // turn off all logging except for logger1: "off,logger1=debug"
0019 // turn off all logging except for logger1 and logger2: "off,logger1=debug,logger2=info"
0020 //
0021 SPDLOG_API void load_levels(const std::string &txt);
0022 } // namespace helpers
0023 
0024 } // namespace cfg
0025 } // namespace spdlog
0026 
0027 #ifdef SPDLOG_HEADER_ONLY
0028 #    include "helpers-inl.h"
0029 #endif // SPDLOG_HEADER_ONLY