Public Member Functions | Private Member Functions | List of all members
mavrosflight::DefaultLogger Class Reference

Default logger that outputs to stdout and stderr. Throttling is ignored to reduce timing complexity. More...

#include <default_logger.h>

Inheritance diagram for mavrosflight::DefaultLogger:
Inheritance graph
[legend]

Public Member Functions

template<typename... Args>
void debug (const char *format, const Args &...args)
 
template<typename... Args>
void debug_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void error (const char *format, const Args &...args)
 
template<typename... Args>
void error_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void fatal (const char *format, const Args &...args)
 
template<typename... Args>
void fatal_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void info (const char *format, const Args &...args)
 
template<typename... Args>
void info_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void warn (const char *format, const Args &...args)
 
template<typename... Args>
void warn_throttle (float period, const char *format, const Args &...args)
 
- Public Member Functions inherited from mavrosflight::LoggerInterface< DefaultLogger >
void debug (const char *format, const Args &...args)
 
void debug_throttle (float period, const char *format, const Args &...args)
 
void error (const char *format, const Args &...args)
 
void error_throttle (float period, const char *format, const Args &...args)
 
void fatal (const char *format, const Args &...args)
 
void fatal_throttle (float period, const char *format, const Args &...args)
 
void info (const char *format, const Args &...args)
 
void info_throttle (float period, const char *format, const Args &...args)
 
void warn (const char *format, const Args &...args)
 
void warn_throttle (float period, const char *format, const Args &...args)
 

Private Member Functions

template<typename... Args>
void _log (FILE *fs, const char *name, const char *format, const Args &...args)
 

Detailed Description

Default logger that outputs to stdout and stderr. Throttling is ignored to reduce timing complexity.

Definition at line 53 of file default_logger.h.

Member Function Documentation

template<typename... Args>
void mavrosflight::DefaultLogger::_log ( FILE *  fs,
const char *  name,
const char *  format,
const Args &...  args 
)
inlineprivate

Definition at line 113 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::debug ( const char *  format,
const Args &...  args 
)
inline

Definition at line 57 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::debug_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 62 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::error ( const char *  format,
const Args &...  args 
)
inline

Definition at line 90 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::error_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 95 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::fatal ( const char *  format,
const Args &...  args 
)
inline

Definition at line 101 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::fatal_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 106 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::info ( const char *  format,
const Args &...  args 
)
inline

Definition at line 68 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::info_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 73 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::warn ( const char *  format,
const Args &...  args 
)
inline

Definition at line 79 of file default_logger.h.

template<typename... Args>
void mavrosflight::DefaultLogger::warn_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 84 of file default_logger.h.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:09:29