Bitcoin Core 31.99.0
P2P Digital Currency
Public Attributes | List of all members
util::log::Entry Struct Reference

#include <log.h>

Collaboration diagram for util::log::Entry:
[legend]

Public Attributes

Category category
 
Level level
 
bool should_ratelimit {false}
 Hint for consumers if this entry should be ratelimited. More...
 
SystemClock::time_point timestamp {SystemClock::now()}
 
std::chrono::seconds mocktime {GetMockTime()}
 
std::string thread_name {util::ThreadGetInternalName()}
 
SourceLocation source_loc
 
std::string message
 

Detailed Description

Definition at line 54 of file log.h.

Member Data Documentation

◆ category

Category util::log::Entry::category

Definition at line 55 of file log.h.

◆ level

Level util::log::Entry::level

Definition at line 56 of file log.h.

◆ message

std::string util::log::Entry::message

Definition at line 62 of file log.h.

◆ mocktime

std::chrono::seconds util::log::Entry::mocktime {GetMockTime()}

Definition at line 59 of file log.h.

◆ should_ratelimit

bool util::log::Entry::should_ratelimit {false}

Hint for consumers if this entry should be ratelimited.

Definition at line 57 of file log.h.

◆ source_loc

SourceLocation util::log::Entry::source_loc

Definition at line 61 of file log.h.

◆ thread_name

std::string util::log::Entry::thread_name {util::ThreadGetInternalName()}

Definition at line 60 of file log.h.

◆ timestamp

SystemClock::time_point util::log::Entry::timestamp {SystemClock::now()}

Definition at line 58 of file log.h.


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