LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
logit::PrometheusPayloadLogger::Config Struct Reference

#include <PrometheusPayloadLogger.hpp>

Public Attributes

PrometheusTextFormatConfig format
 
std::function< void(std::string)> on_payload
 
std::function< void(std::vector< PrometheusMetricFamily > &)> on_collect
 
bool emit_on_log = false
 
bool emit_on_wait = true
 

Detailed Description

Definition at line 35 of file PrometheusPayloadLogger.hpp.

Member Data Documentation

◆ emit_on_log

bool logit::PrometheusPayloadLogger::Config::emit_on_log = false

Definition at line 39 of file PrometheusPayloadLogger.hpp.

◆ emit_on_wait

bool logit::PrometheusPayloadLogger::Config::emit_on_wait = true

Definition at line 40 of file PrometheusPayloadLogger.hpp.

◆ format

PrometheusTextFormatConfig logit::PrometheusPayloadLogger::Config::format

Definition at line 36 of file PrometheusPayloadLogger.hpp.

◆ on_collect

std::function<void(std::vector<PrometheusMetricFamily>&)> logit::PrometheusPayloadLogger::Config::on_collect

Definition at line 38 of file PrometheusPayloadLogger.hpp.

◆ on_payload

std::function<void(std::string)> logit::PrometheusPayloadLogger::Config::on_payload

Definition at line 37 of file PrometheusPayloadLogger.hpp.


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