ArkScript
A small, lisp-inspired, functional scripting language
Ark::internal::Logger::MessageAndLocation Struct Reference

#include <Logger.hpp>

Collaboration diagram for Ark::internal::Logger::MessageAndLocation:
[legend]

Public Member Functions

template<typename T >
 MessageAndLocation (T &&msg, const std::source_location loc=std::source_location::current())
 

Public Attributes

std::string_view message
 
std::source_location location
 

Detailed Description

Definition at line 27 of file Logger.hpp.

Constructor & Destructor Documentation

◆ MessageAndLocation()

template<typename T >
Ark::internal::Logger::MessageAndLocation::MessageAndLocation ( T && msg,
const std::source_location loc = std::source_location::current() )
inline

Definition at line 34 of file Logger.hpp.

Member Data Documentation

◆ location

std::source_location Ark::internal::Logger::MessageAndLocation::location

Definition at line 30 of file Logger.hpp.

Referenced by Ark::internal::Logger::debug().

◆ message

std::string_view Ark::internal::Logger::MessageAndLocation::message

Definition at line 29 of file Logger.hpp.

Referenced by Ark::internal::Logger::debug().


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