ad_rss_map_integration
Logging.hpp
Go to the documentation of this file.
1 // ----------------- BEGIN LICENSE BLOCK ---------------------------------
2 //
3 // Copyright (C) 2019-2022 Intel Corporation
4 //
5 // SPDX-License-Identifier: LGPL-2.1-only
6 //
7 // ----------------- END LICENSE BLOCK -----------------------------------
12 #pragma once
13 
14 #include <spdlog/logger.h>
15 
19 namespace ad {
23 namespace rss {
27 namespace map {
28 
32 std::shared_ptr<spdlog::logger> getLogger();
33 
37 spdlog::level::level_enum getLogLevel();
38 
42 void setLogLevel(spdlog::level::level_enum const logLevel);
43 
49 void setLogLevel(std::string const &logLevel);
50 
51 } // namespace map
52 } // namespace rss
53 } // namespace ad
spdlog::level::level_enum getLogLevel()
get the log level of the ad::rss::map logger
void setLogLevel(spdlog::level::level_enum const logLevel)
set the log level of the ad::rss::map logger
std::shared_ptr< spdlog::logger > getLogger()
get the ad::rss::map logger
namespace ad
Definition: RouteAccelerations.hpp:33