Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::PrintLogger Class Reference

#include <PrintLogger.h>

Public Member Functions

 PrintLogger (Logging &logging, const string &name)
 
PrintLogger getChild (const string &name)
 
template<typename... Args>
void log (uint8_t level, const string &function, const string &file, int line, string format, Args &&... args)
 
template<typename... Args>
void logAsync (uint8_t level, const string &function, const string &file, int line, string format, Args &&... args)
 

Detailed Description

Definition at line 57 of file PrintLogger.h.

Constructor & Destructor Documentation

◆ PrintLogger()

Boardcore::PrintLogger::PrintLogger ( Logging & logging,
const string & name )
inline

Definition at line 60 of file PrintLogger.h.

Member Function Documentation

◆ getChild()

PrintLogger Boardcore::PrintLogger::getChild ( const string & name)

Definition at line 98 of file PrintLogger.cpp.

◆ log()

template<typename... Args>
void Boardcore::PrintLogger::log ( uint8_t level,
const string & function,
const string & file,
int line,
string format,
Args &&... args )
inline

Definition at line 68 of file PrintLogger.h.

◆ logAsync()

template<typename... Args>
void Boardcore::PrintLogger::logAsync ( uint8_t level,
const string & function,
const string & file,
int line,
string format,
Args &&... args )
inline

Definition at line 76 of file PrintLogger.h.


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