Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
BufferedLogger Struct Reference

buffered logging facility More...

#include <logger.h>

Inherits Logger.

Collaboration diagram for BufferedLogger:
[legend]

Public Member Functions

bool full () override
 check if sink is full
 
void info (const char *fmt,...)
 Info log level.
 
void warn (const char *fmt,...)
 Warn log level.
 
void print (const char *fmt,...)
 None log level.
 
void push (Buffer< uint8_t > &&b) override
 push otherwisely prepared Buffer through Logger
 
virtual void push (const Buffer< uint8_t > &t)
 copy semantics does not check for space. guard by using 'if (!full) { ... }'
 
void trypush (Buffer< uint8_t > &&t)
 use this if you don't care if it's going to be successful. data gets discarded if sink is full.
 

Detailed Description

buffered logging facility


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