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

#include <Logger.hpp>

Collaboration diagram for rtp::log::LogFmt< Args >:

Public Member Functions

consteval LogFmt (const char *s, std::source_location l=std::source_location::current())
 
consteval LogFmt (std::string_view s, std::source_location l=std::source_location::current())
 

Public Attributes

std::format_string< Args... > fmt
 
std::source_location loc
 

Detailed Description

template<typename... Args>
struct rtp::log::LogFmt< Args >

Definition at line 59 of file Logger.hpp.

Constructor & Destructor Documentation

◆ LogFmt() [1/2]

template<typename... Args>
consteval rtp::log::LogFmt< Args >::LogFmt ( const char *  s,
std::source_location  l = std::source_location::current() 
)
inline

Definition at line 63 of file Logger.hpp.

◆ LogFmt() [2/2]

template<typename... Args>
consteval rtp::log::LogFmt< Args >::LogFmt ( std::string_view  s,
std::source_location  l = std::source_location::current() 
)
inline

Definition at line 70 of file Logger.hpp.

Member Data Documentation

◆ fmt

template<typename... Args>
std::format_string<Args...> rtp::log::LogFmt< Args >::fmt

Definition at line 60 of file Logger.hpp.

◆ loc

template<typename... Args>
std::source_location rtp::log::LogFmt< Args >::loc

Definition at line 61 of file Logger.hpp.


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