microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
extended_msg.hpp File Reference

Log record extended with execution-context metadata (pid, tid, CPU index, context flags) for "advanced" sinks. More...

#include "log_msg.hpp"
#include <cstdint>
Include dependency graph for extended_msg.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  microfmt::log::log_meta
 Execution-context metadata attached to an extended_log_msg. More...
 
struct  microfmt::log::extended_log_msg
 log_msg plus log_meta. Derives from the original record, so it converts to const log_msg & anywhere the plain API is expected. More...
 

Namespaces

namespace  microfmt
 
namespace  microfmt::log
 

Enumerations

enum class  microfmt::log::log_flag : std::uint32_t { microfmt::log::none = 0 , microfmt::log::can_wait = 1U << 0 }
 Well-known bits of log_meta::flags. Bits 16..31 belong to the user. More...
 

Functions

 RELOCO_TYPE_ID_NAME (microfmt::log::extended_log_msg, "microfmt::log::extended_log_msg")
 

Variables

constexpr std::uint32_t microfmt::log::no_cpu = 0xFFFFFFFFU
 CPU index value meaning "unknown".
 

Detailed Description

Log record extended with execution-context metadata (pid, tid, CPU index, context flags) for "advanced" sinks.

Function Documentation

◆ RELOCO_TYPE_ID_NAME()

RELOCO_TYPE_ID_NAME ( microfmt::log::extended_log_msg  ,
"microfmt::log::extended_log_msg"   
)