cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
CW_Logger.h File Reference

Abstract logging interface. More...

#include "platform_compat.h"
Include dependency graph for CW_Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CW_Logger
 Abstract interface for serial/debug output. More...

Detailed Description

Abstract logging interface.

Declares CW_Logger, the contract that any concrete output sink (UART, USB CDC, stdout, syslog, network, …) must implement so the SDK remains independent of the host platform's logging facility.

The Arduino-style print/println overloads keep F("...")-quoted string literals in flash on Arduino targets; on non-Arduino targets F() is the identity macro (see platform_compat.h).

One of the three adapter interfaces a host integration must provide.

Definition in file CW_Logger.h.