CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
LogSubSpec Struct Reference

#include <logwire.h>

Data Fields

sa_string patterns
 
int maxlevel
 Most verbose level wanted. A sender clamps this to what it was configured to allow.
 
int64 expiry
 

Detailed Description

What a receiver has asked a sender for

A sender ships nothing until one of these arrives; there is no locally configured "forward everything to host X". See Forwarding.

Definition at line 104 of file logwire.h.

Field Documentation

◆ expiry

int64 LogSubSpec::expiry

Wall-clock time in microseconds at which the subscription lapses, or 0 for never

A collector that goes away without saying so otherwise leaves a sender talking to nothing forever. Set this and renew it, and a sender that stops hearing from you goes quiet.

Definition at line 116 of file logwire.h.

◆ patterns

sa_string LogSubSpec::patterns

Channel patterns wanted, in logRegisterDest() syntax. An empty list asks for everything the sender is willing to offer.

Definition at line 107 of file logwire.h.


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