REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
msg::StreamLogger Struct Reference

#include <jsonl_logging.h>

Inheritance diagram for msg::StreamLogger:
Collaboration diagram for msg::StreamLogger:

Public Member Functions

 StreamLogger (Print &_target)
 
virtual size_t write (uint8_t b) override
 

Public Attributes

uint16_t line_count = 0
 
bool new_line = true
 
::utils::StreamingJson target
 

Detailed Description

Definition at line 40 of file jsonl_logging.h.

Constructor & Destructor Documentation

◆ StreamLogger()

msg::StreamLogger::StreamLogger ( Print & _target)
inline

Definition at line 45 of file jsonl_logging.h.

Member Function Documentation

◆ write()

Member Data Documentation

◆ line_count

uint16_t msg::StreamLogger::line_count = 0

Definition at line 41 of file jsonl_logging.h.

Referenced by write().

◆ new_line

bool msg::StreamLogger::new_line = true

Definition at line 42 of file jsonl_logging.h.

Referenced by write().

◆ target

::utils::StreamingJson msg::StreamLogger::target

Definition at line 43 of file jsonl_logging.h.

Referenced by write().


The documentation for this struct was generated from the following files: