Antkeeper  0.0.1
Public Attributes | List of all members
debug::message_logged_event Struct Reference

Event generated when a message has been logged. More...

#include <log-events.hpp>

Public Attributes

debug::loggerlogger
 Logger which received the message. More...
 
std::chrono::time_point< std::chrono::system_clock > time
 Time at which the message was sent. More...
 
std::thread::id thread_id
 ID of the thread from which the message was sent. More...
 
std::source_location location
 Source location from which the message was sent. More...
 
log_message_severity severity
 Severity of the message. More...
 
std::string message
 Message contents. More...
 

Detailed Description

Event generated when a message has been logged.

Definition at line 39 of file log-events.hpp.

Member Data Documentation

◆ location

std::source_location debug::message_logged_event::location

Source location from which the message was sent.

Definition at line 51 of file log-events.hpp.

◆ logger

debug::logger* debug::message_logged_event::logger

Logger which received the message.

Definition at line 42 of file log-events.hpp.

◆ message

std::string debug::message_logged_event::message

Message contents.

Definition at line 57 of file log-events.hpp.

◆ severity

log_message_severity debug::message_logged_event::severity

Severity of the message.

Definition at line 54 of file log-events.hpp.

◆ thread_id

std::thread::id debug::message_logged_event::thread_id

ID of the thread from which the message was sent.

Definition at line 48 of file log-events.hpp.

◆ time

std::chrono::time_point<std::chrono::system_clock> debug::message_logged_event::time

Time at which the message was sent.

Definition at line 45 of file log-events.hpp.


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