Skip to main content

Logging

Where diagnostic log lines go.

Members

Classes
classLogger

Minimal logging surface for Robotiq components. More...

classNullLogger

A do-nothing Logger, useful in tight benchmarks or tests. More...

classStderrLogger

Default Logger implementation that writes to stderr. Hosted-only: it needs <iostream> and a wall clock, neither of which a freestanding target has — provide an application Logger (e.g. a UART sink) there instead. More...

Functions
constexpr std::string_viewtoString (Logger::Level level)

Functions

toString()

constexpr std::string_view Robotiq::toString(Logger::Levellevel
)
constexpr
Parameters
level

Severity of a log line.

Returns

The plain name of level (e.g. "Info"); callers that need fixed-width column alignment (as StderrLogger does) pad this themselves.


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.