NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
NeoN::Logging::LogEvent Class Reference

#include <logging.hpp>

Public Member Functions

 LogEvent (std::source_location location, Level level, std::string_view message)
 
std::string toJson (std::string_view delim)
 

Public Attributes

std::source_location location
 
Level level
 
std::string message
 
std::chrono::time_point< std::chrono::steady_clock > creationTS
 

Detailed Description

Definition at line 38 of file logging.hpp.

Constructor & Destructor Documentation

◆ LogEvent()

NeoN::Logging::LogEvent::LogEvent ( std::source_location  location,
Level  level,
std::string_view  message 
)
inline

Definition at line 43 of file logging.hpp.

Member Function Documentation

◆ toJson()

std::string NeoN::Logging::LogEvent::toJson ( std::string_view  delim)
inline

Definition at line 58 of file logging.hpp.

Member Data Documentation

◆ creationTS

std::chrono::time_point<std::chrono::steady_clock> NeoN::Logging::LogEvent::creationTS

Definition at line 55 of file logging.hpp.

◆ level

Level NeoN::Logging::LogEvent::level

Definition at line 51 of file logging.hpp.

◆ location

std::source_location NeoN::Logging::LogEvent::location

Definition at line 49 of file logging.hpp.

◆ message

std::string NeoN::Logging::LogEvent::message

Definition at line 53 of file logging.hpp.


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