MSCEqF 1.0
Multi State Constraint Equivariant Filter for visual inertial navigation
Loading...
Searching...
No Matches
utils::Logger Class Reference

Logger. More...

#include <logger.hpp>

Static Public Member Functions

static const LoggerLevel & getlevel ()
 Get the logger level (see LoggerLevel)
 
static void setLevel (const LoggerLevel &level)
 Set the logger level (see LoggerLevel)
 
template<typename T >
static void info (const T &msg)
 Format a info message and log it in white.
 
template<typename T >
static void err (const T &msg)
 Format a error message and log it in red.
 
template<typename T >
static void warn (const T &msg)
 Format a warn message and log it in yellow.
 
template<typename T >
static void debug (const T &msg)
 Format a debug message and log it in blue.
 

Detailed Description

Member Function Documentation

◆ debug()

template<typename T >
static void utils::Logger::debug ( const T & msg)
inlinestatic

Format a debug message and log it in blue.

Template Parameters
TType of the message
Parameters
msgmessage

◆ err()

template<typename T >
static void utils::Logger::err ( const T & msg)
inlinestatic

Format a error message and log it in red.

Template Parameters
TType of the message
Parameters
msgmessage

◆ getlevel()

static const LoggerLevel & utils::Logger::getlevel ( )
inlinestatic

Get the logger level (see LoggerLevel)

Returns
const LoggerLevel&

◆ info()

template<typename T >
static void utils::Logger::info ( const T & msg)
inlinestatic

Format a info message and log it in white.

Template Parameters
TType of the message
Parameters
msgmessage

◆ setLevel()

static void utils::Logger::setLevel ( const LoggerLevel & level)
inlinestatic

Set the logger level (see LoggerLevel)

Parameters
levelLoggerLevel

◆ warn()

template<typename T >
static void utils::Logger::warn ( const T & msg)
inlinestatic

Format a warn message and log it in yellow.

Template Parameters
TType of the message
Parameters
msgmessage

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