Sha256: efa9c281f8e526b11d7b3d0f88c797cc13b9f0656f66dc6e14e0ec9391b30971

Contents?: true

Size: 714 Bytes

Versions: 8

Compression:

Stored size: 714 Bytes

Contents

// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)

#pragma once

#include <spdlog/common.h>
#include <unordered_map>

namespace spdlog {
namespace cfg {
namespace helpers {
//
// Init levels from given string
//
// Examples:
//
// set global level to debug: "debug"
// turn off all logging except for logger1: "off,logger1=debug"
// turn off all logging except for logger1 and logger2: "off,logger1=debug,logger2=info"
//
SPDLOG_API void load_levels(const std::string &txt);
} // namespace helpers

} // namespace cfg
} // namespace spdlog

#ifdef SPDLOG_HEADER_ONLY
#    include "helpers-inl.h"
#endif // SPDLOG_HEADER_ONLY

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
couchbase-3.5.0 ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.4.5 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.4.4 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.4.3 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.4.2 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.4.1 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.4.0 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h
couchbase-3.3.0 ext/couchbase/third_party/spdlog/include/spdlog/cfg/helpers.h