Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
std::formatter< rtp::log::Level > Struct Reference

#include <LogLevel.hpp>

Inheritance diagram for std::formatter< rtp::log::Level >:
Collaboration diagram for std::formatter< rtp::log::Level >:

Public Member Functions

constexpr auto parse (std::format_parse_context &ctx)
 
auto format (rtp::log::Level level, std::format_context &ctx) const
 Format an log::Level enum value.
 

Detailed Description

Definition at line 70 of file LogLevel.hpp.

Member Function Documentation

◆ format()

auto std::formatter< rtp::log::Level >::format ( rtp::log::Level  level,
std::format_context &  ctx 
) const
inline

Format an log::Level enum value.

Parameters
levelThe log level
ctxThe format context
Returns
Iterator to the end of the formatted output

Definition at line 80 of file LogLevel.hpp.

References rtp::log::toString().

◆ parse()

constexpr auto std::formatter< rtp::log::Level >::parse ( std::format_parse_context &  ctx)
inlineconstexpr

Definition at line 71 of file LogLevel.hpp.


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