Cogs.Core
Public Attributes | List of all members
Cogs::Logging::ThrottledConsumer::Message Struct Reference

Public Attributes

std::string message
 Message to be output.
 
std::string source
 Source of this message.
 
int count = 0
 Number of times this message has been received since it was last output.
 
int64_t outputTime = 0
 Time at which this message can be next output.
 
const char * file = nullptr
 Name of file that generated this message.
 
int line = 0
 Line number this message is from.
 
Category category = Category::Trace
 Category to which this message belongs.
 

Detailed Description

Definition at line 24 of file ThrottledConsumer.h.

Member Data Documentation

◆ category

Category Cogs::Logging::ThrottledConsumer::Message::category = Category::Trace

Category to which this message belongs.

Definition at line 31 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage().

◆ count

int Cogs::Logging::ThrottledConsumer::Message::count = 0

Number of times this message has been received since it was last output.

Definition at line 27 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage(), and Cogs::Logging::ThrottledConsumer::flush().

◆ file

const char* Cogs::Logging::ThrottledConsumer::Message::file = nullptr

Name of file that generated this message.

Definition at line 29 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage().

◆ line

int Cogs::Logging::ThrottledConsumer::Message::line = 0

Line number this message is from.

Definition at line 30 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage().

◆ message

std::string Cogs::Logging::ThrottledConsumer::Message::message

Message to be output.

Definition at line 25 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage().

◆ outputTime

int64_t Cogs::Logging::ThrottledConsumer::Message::outputTime = 0

Time at which this message can be next output.

Definition at line 28 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage(), and Cogs::Logging::ThrottledConsumer::flush().

◆ source

std::string Cogs::Logging::ThrottledConsumer::Message::source

Source of this message.

Definition at line 26 of file ThrottledConsumer.h.

Referenced by Cogs::Logging::ThrottledConsumer::consumeMessage().


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