uatools 1.0.0-pre2
 
Loading...
Searching...
No Matches
logging.hpp File Reference

Bridge between open62541's C logging callback and uatools' Logger interface. More...

#include <cstdarg>
#include <cstdio>
#include <iostream>
#include <eso/uatools/protocol/base/logger.hpp>
#include <open62541/plugin/log.h>
#include <open62541/config.h>

Go to the source code of this file.

Namespaces

namespace  eso
 
namespace  eso::uatools
 
namespace  eso::uatools::protocol
 
namespace  eso::uatools::protocol::opcua
 

Detailed Description

Bridge between open62541's C logging callback and uatools' Logger interface.

open62541 emits log messages through a C callback with printf-style varargs. This header provides CustomOpen62541Log which formats the message and routes it through the installed uatools logger via the UAT* macros. No log4cplus involvement.