Skip to content

iox::log🔗

Namespaces🔗

Name
iox::log::ffbb

Classes🔗

Name
struct iox::log::LogEntry
class iox::log::Logger
class iox::log::LogManager
struct iox::log::LogHex
struct iox::log::LogHex8
struct iox::log::LogHex16
struct iox::log::LogHex32
struct iox::log::LogHex64
struct iox::log::LogBin
struct iox::log::LogBin8
struct iox::log::LogBin16
struct iox::log::LogBin32
struct iox::log::LogBin64
struct iox::log::LogRawBuffer
class iox::log::LogStream

Types🔗

Name
enum uint8_t LogLevel
enum uint8_t LogMode
enum uint8_t LogLevelOutput

Functions🔗

Name
LogMode **[operator
LogMode & **[operator
LogMode operator&(LogMode lhs, LogMode rhs)
LogMode & operator&=(LogMode & lhs, LogMode rhs)
Logger & createLogger(const std::string & ctxId, const std::string & ctxDescription, const LogLevel appDefLogLevel =LogLevel::kWarn)
constexpr LogHex8 HexFormat(uint8_t value)
constexpr LogHex8 HexFormat(int8_t value)
constexpr LogHex16 HexFormat(uint16_t value)
constexpr LogHex16 HexFormat(int16_t value)
constexpr LogHex32 HexFormat(uint32_t value)
constexpr LogHex32 HexFormat(int32_t value)
constexpr LogHex64 HexFormat(uint64_t value)
constexpr LogHex64 HexFormat(int64_t value)
constexpr LogBin8 BinFormat(uint8_t value)
constexpr LogBin8 BinFormat(int8_t value)
constexpr LogBin16 BinFormat(uint16_t value)
constexpr LogBin16 BinFormat(int16_t value)
constexpr LogBin32 BinFormat(uint32_t value)
constexpr LogBin32 BinFormat(int32_t value)
constexpr LogBin64 BinFormat(uint64_t value)
constexpr LogBin64 BinFormat(int64_t value)
template <typename T ,typename std::enable_if<!std::is_pointer< T >::value, std::nullptr_t >::type =nullptr>
constexpr LogRawBuffer
RawBuffer(const T & value)
LogStream & operator<<(LogStream & out, LogLevel value)

Attributes🔗

Name
constexpr const char * LogLevelColor
constexpr const char * LogLevelText

Types Documentation🔗

enum LogLevel🔗

Enumerator Value Description
kOff 0
kFatal
kError
kWarn
kInfo
kDebug
kVerbose

enum LogMode🔗

Enumerator Value Description
kRemote 0x01
kFile 0x02
kConsole 0x04

enum LogLevelOutput🔗

Enumerator Value Description
kDisplayLogLevel 0
kHideLogLevel

Functions Documentation🔗

function operator|🔗

LogMode operator|(
    LogMode lhs,
    LogMode rhs
)

function operator|=🔗

LogMode & operator|=(
    LogMode & lhs,
    LogMode rhs
)

function operator&🔗

LogMode operator&(
    LogMode lhs,
    LogMode rhs
)

function operator&=🔗

LogMode & operator&=(
    LogMode & lhs,
    LogMode rhs
)

function createLogger🔗

Logger & createLogger(
    const std::string & ctxId,
    const std::string & ctxDescription,
    const LogLevel appDefLogLevel =LogLevel::kWarn
)

function HexFormat🔗

inline constexpr LogHex8 HexFormat(
    uint8_t value
)

function HexFormat🔗

inline constexpr LogHex8 HexFormat(
    int8_t value
)

function HexFormat🔗

inline constexpr LogHex16 HexFormat(
    uint16_t value
)

function HexFormat🔗

inline constexpr LogHex16 HexFormat(
    int16_t value
)

function HexFormat🔗

inline constexpr LogHex32 HexFormat(
    uint32_t value
)

function HexFormat🔗

inline constexpr LogHex32 HexFormat(
    int32_t value
)

function HexFormat🔗

inline constexpr LogHex64 HexFormat(
    uint64_t value
)

function HexFormat🔗

inline constexpr LogHex64 HexFormat(
    int64_t value
)

function BinFormat🔗

inline constexpr LogBin8 BinFormat(
    uint8_t value
)

function BinFormat🔗

inline constexpr LogBin8 BinFormat(
    int8_t value
)

function BinFormat🔗

inline constexpr LogBin16 BinFormat(
    uint16_t value
)

function BinFormat🔗

inline constexpr LogBin16 BinFormat(
    int16_t value
)

function BinFormat🔗

inline constexpr LogBin32 BinFormat(
    uint32_t value
)

function BinFormat🔗

inline constexpr LogBin32 BinFormat(
    int32_t value
)

function BinFormat🔗

inline constexpr LogBin64 BinFormat(
    uint64_t value
)

function BinFormat🔗

inline constexpr LogBin64 BinFormat(
    int64_t value
)

function RawBuffer🔗

template <typename T ,
typename std::enable_if<!std::is_pointer< T >::value, std::nullptr_t >::type  =nullptr>
inline constexpr LogRawBuffer RawBuffer(
    const T & value
)

function operator<<🔗

LogStream & operator<<(
    LogStream & out,
    LogLevel value
)

Attributes Documentation🔗

variable LogLevelColor🔗

constexpr const char * LogLevelColor = {
    "",                 
    "\033[0;1;97;41m",  
    "\033[0;1;31;103m", 
    "\033[0;1;93m",     
    "\033[0;1;92m",     
    "\033[0;1;96m",     
    "\033[0;1;36m",     
};

variable LogLevelText🔗

constexpr const char * LogLevelText = {
    "[  Off  ]", 
    "[ Fatal ]", 
    "[ Error ]", 
    "[Warning]", 
    "[ Info  ]", 
    "[ Debug ]", 
    "[Verbose]", 
};

Updated on 17 March 2022 at 12:15:57 CET