iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
log_level.hpp
Go to the documentation of this file.
1// Copyright (c) 2024 Contributors to the Eclipse Foundation
2//
3// See the NOTICE file(s) distributed with this work for additional
4// information regarding copyright ownership.
5//
6// This program and the accompanying materials are made available under the
7// terms of the Apache Software License 2.0 which is available at
8// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
9// which is available at https://opensource.org/licenses/MIT.
10//
11// SPDX-License-Identifier: Apache-2.0 OR MIT
12
13#ifndef IOX2_LOG_LEVEL_HPP
14#define IOX2_LOG_LEVEL_HPP
15
16#include <cstdint>
17
18namespace iox2 {
19
20enum class LogLevel : uint8_t {
21 Trace = 0,
22 Debug = 1,
23 Info = 2,
24 Warn = 3,
25 Error = 4,
26 Fatal = 5,
27};
28
29} // namespace iox2
30
31#endif
@ Warn
Print out a warning as soon as the degradation is detected.