5 #include <open62541/plugin/log.h>
6 #include <open62541/server.h>
31 dest = UA_LOGLEVEL_TRACE;
34 dest = UA_LOGLEVEL_DEBUG;
37 dest = UA_LOGLEVEL_INFO;
40 dest = UA_LOGLEVEL_WARNING;
43 dest = UA_LOGLEVEL_ERROR;
46 dest = UA_LOGLEVEL_FATAL;
49 dest = UA_LOGLEVEL_INFO;
58 case UA_LOGLEVEL_TRACE:
61 case UA_LOGLEVEL_DEBUG:
64 case UA_LOGLEVEL_INFO:
67 case UA_LOGLEVEL_WARNING:
70 case UA_LOGLEVEL_ERROR:
73 case UA_LOGLEVEL_FATAL:
83 static const UA_DataType LoggingLevelType = {
84 UA_TYPENAME(
"LoggingLevels")
85 {1, UA_NODEIDTYPE_STRING, {.string = {13, (UA_Byte*)
"LoggingLevels"}}},
86 {0, UA_NODEIDTYPE_NUMERIC, {0}},
90 UA_BINARY_OVERLAYABLE_INTEGER,
103 return UA_copy(src, dst, &LoggingLevelType);
106 UA_DEPRECATED
static UA_INLINE
void UA_LoggingLevel_deleteMembers(
UA_LoggingLevel* p) {
107 UA_clear(p, &LoggingLevelType);
111 UA_clear(p, &LoggingLevelType);
115 UA_delete(p, &LoggingLevelType);
118 return (UA_order(p1, p2, &LoggingLevelType) == UA_ORDER_EQ);