microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
extended_logger.hpp File Reference

basic_logger derivative that stamps every record with execution context metadata (pid/tid/CPU/flags) before handing it to advanced sinks. More...

#include "extended_msg.hpp"
#include "extended_sink.hpp"
#include "logger.hpp"
Include dependency graph for extended_logger.hpp:

Go to the source code of this file.

Classes

class  microfmt::log::meta_decorator
 Decorator turning a plain log_msg into an extended_log_msg. More...
 
class  microfmt::log::extended_logger< MaxSinks, MsgBufferCapacity, Mutex >
 Logger for advanced sinks. Derives from basic_logger, so the whole formatting/level/locking API is inherited unchanged. More...
 

Namespaces

namespace  microfmt
 
namespace  microfmt::log
 

Typedefs

using microfmt::log::log_meta_callback = log_meta(*)(void *user, const log_msg &msg) noexcept
 Metadata callback: describes the current execution context.
 

Detailed Description

basic_logger derivative that stamps every record with execution context metadata (pid/tid/CPU/flags) before handing it to advanced sinks.