iceoryx_doc  1.0.1
posh_logging.hpp
1 // Copyright (c) 2019 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_LOGGING_HPP
17 #define IOX_POSH_LOG_POSH_LOGGING_HPP
18 
20 
21 #include "iceoryx_utils/log/logging_free_function_building_block.hpp"
22 
23 namespace iox
24 {
26 {
27  static constexpr char Ctx[] = "POSH";
28  static constexpr char Description[] = "Log context of the POSH component!";
29 };
30 
31 static constexpr auto LogFatal = iox::log::ffbb::LogFatal<LoggingComponent>;
32 static constexpr auto LogError = iox::log::ffbb::LogError<LoggingComponent>;
33 static constexpr auto LogWarn = iox::log::ffbb::LogWarn<LoggingComponent>;
34 static constexpr auto LogInfo = iox::log::ffbb::LogInfo<LoggingComponent>;
35 static constexpr auto LogDebug = iox::log::ffbb::LogDebug<LoggingComponent>;
36 static constexpr auto LogVerbose = iox::log::ffbb::LogVerbose<LoggingComponent>;
37 
38 } // namespace iox
39 
40 #endif // IOX_POSH_LOG_POSH_LOGGING_HPP
Definition: service_description.hpp:29
Definition: posh_logging.hpp:26