6#include "WutLoggerUsbSerial.h"
8#if WUT_USBSERIAL_AVAILABLE
10#include <usbserial/usbserial.h>
19 ready = USBSerial_Init();
39 USBSerial_Write(line,
static_cast<uint32_t
>(len));
bool init(const LogConfig &config) override
Opens whatever handle/socket/file this backend needs, using only fields from config (nothing hardcode...
void shutdown() override
Releases whatever init() acquired.
void write(LogLevel level, const char *line, size_t len) override
Writes one already-formatted, newline-terminated line.
LogLevel
Severity of a single log call.
Full runtime configuration for the Logger.