PLCnext API Documentation 23.0.2.9
LogLevel.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Commons { namespace Diagnostics { namespace Logging
11{
12
13enum class LogLevel
14{
15 None = 0,
16 Off = 1,
17 Fatal = 2,
18 Error = 3,
19 Critical = 4,
20 Warning = 5,
21 Info = 6,
22 Debug = 7,
23 Trace = 8,
24 All = Trace,
25 Default = Info
26};
27
29// global stream operators of enum LogLevel for logging and parsing
30ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, LogLevel value);
31ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, LogLevel& value);
32
33}}}}} // end of namesapce Arp::System::Commons::Diagnostics::Logging
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API