AsyncFw 1.2
Async Framework is c++ runtime with timers, poll notifiers, sockets, coroutines, etc.
 
Loading...
Searching...
No Matches
AsyncFw::AbstractLog Class Referenceabstract

The AbstractLog class provides the base functionality for logger. More...

#include <AsyncFw/Log>

Inheritance diagram for AsyncFw::AbstractLog:
[legend]
Collaboration diagram for AsyncFw::AbstractLog:
[legend]

Public Types

using Message = LogStream::Message
 

Public Member Functions

void append (uint8_t, const std::string &, const std::string &, const std::string &={})
 
void setExtendOut (bool b)
 
void setColorOut (bool b)
 
void setNotesOut (bool b)
 
void setHideDuplicates (bool b)
 
void setLevel (int i)
 
void setConsoleLevel (int i)
 
void setFilter (const std::vector< std::string > &f)
 

Protected Member Functions

virtual void output (const Message &message)
 
virtual void save ()=0
 
void append (const Message &m)
 
void flush ()
 
void finality ()
 

Protected Attributes

uint8_t level = LogStream::Trace
 
uint8_t consoleLevel = LogStream::Trace
 
int queueLimit = 128
 
Threadthread_
 

Friends

class Log
 

Detailed Description

The AbstractLog class provides the base functionality for logger.


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