iceoryx_doc  1.0.1
posh_config_logging.hpp
1 // Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 //
15 // SPDX-License-Identifier: Apache-2.0
16 #ifndef IOX_POSH_LOG_POSH_CONFIG_LOGGING_HPP
17 #define IOX_POSH_LOG_POSH_CONFIG_LOGGING_HPP
18 
20 
21 #include "iceoryx_utils/log/logging_free_function_building_block.hpp"
22 
23 namespace iox
24 {
25 namespace config
26 {
28 {
29  static constexpr char Ctx[] = "POSH Config";
30  static constexpr char Description[] = "Log context for the POSH configuration library.";
31 };
32 
33 static constexpr auto LogFatal = iox::log::ffbb::LogFatal<LoggingComponent>;
34 static constexpr auto LogError = iox::log::ffbb::LogError<LoggingComponent>;
35 static constexpr auto LogWarn = iox::log::ffbb::LogWarn<LoggingComponent>;
36 static constexpr auto LogInfo = iox::log::ffbb::LogInfo<LoggingComponent>;
37 static constexpr auto LogDebug = iox::log::ffbb::LogDebug<LoggingComponent>;
38 static constexpr auto LogVerbose = iox::log::ffbb::LogVerbose<LoggingComponent>;
39 
40 } // namespace config
41 } // namespace iox
42 
43 #endif // IOX_POSH_LOG_POSH_CONFIG_LOGGING_HPP
Definition: service_description.hpp:29
Definition: posh_config_logging.hpp:28