Struct anira_log_desc#

struct anira_log_desc#

Collaboration diagram for anira_log_desc:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="anira_log_desc" tooltip="anira_log_desc" fillcolor="#BFBFBF"]
    "2" [label="anira_log_record" tooltip="anira_log_record"]
    "1" -> "2" [dir=forward tooltip="usage"]
}

The log block of a context config, handed once to anira_context_config_set_log; the C one-shot equivalent of the five scalar setters.

Public Members

uint32_t struct_size#

sizeof(anira_log_desc) of the caller’s header.

uint32_t abi_version#

ANIRA_ABI_VERSION the caller compiled against.

void *user_data#

Passed to callback.

anira_log_fn callback#

The sink; NULL keeps the platform sink only.

uint32_t level#

anira_log_level; the most verbose request across contexts wins.

uint32_t drain#

anira_log_drain.

uint32_t queue_capacity#

Real-time queue records, clamped to [64, 65536]; fixed for the life of the core.

uint32_t drain_interval_ms#

Drain-thread period in milliseconds.

uint32_t flags#

ANIRA_LOG_FLAG_* bits.

uint32_t reserved#

Zero.