microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::log::log_msg Struct Reference

Structured log record forwarded by a logger to each sink. More...

#include <log_msg.hpp>

Inheritance diagram for microfmt::log::log_msg:
Inheritance graph
[legend]
Collaboration diagram for microfmt::log::log_msg:
Collaboration graph
[legend]

Public Attributes

microfmt::string_view logger_name {}
 
level lvl {level::info}
 
microfmt::instant time {microfmt::instant::now()}
 
microfmt::string_view payload {}
 
std::source_location loc {std::source_location::current()}
 

Detailed Description

Structured log record forwarded by a logger to each sink.

Member Data Documentation

◆ loc

std::source_location microfmt::log::log_msg::loc {std::source_location::current()}

◆ logger_name

microfmt::string_view microfmt::log::log_msg::logger_name {}

◆ lvl

level microfmt::log::log_msg::lvl {level::info}

◆ payload

microfmt::string_view microfmt::log::log_msg::payload {}

◆ time

microfmt::instant microfmt::log::log_msg::time {microfmt::instant::now()}

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