Skip to content

title: fmt::formatter< sgns::NodeType > summary: Lets a NodeType be passed straight to any spdlog/fmt call: logger->info( "role={}", node_type_ ).


fmt::formatter< sgns::NodeType >

Lets a NodeType be passed straight to any spdlog/fmt call: logger->info( "role={}", node_type_ ).

#include <NodeType.hpp>

Inherits from formatter< std::string_view >

Public Functions

Name
format_context::iterator format(sgns::NodeType type, format_context & ctx) const

Public Functions Documentation

function format

inline format_context::iterator format(
    sgns::NodeType type,
    format_context & ctx
) const

Updated on 2026-08-28 at 22:24:30 +0000