Module logging

Module logging 

Source
Expand description

Logging module for structured log events within the game application.

This module defines standardized log channels, event types, and data structures to facilitate consistent logging across different components of the game, such as planets, explorers, and the orchestrator.

It provides mechanisms to create log events with timestamps, participants, and payloads, as well as utilities to emit these events using the log crate for integration with various logging backends.

Structs§

LogEvent
Bundle of data emitted through the logging system.
Participant
Participant in a log event. Either side of an interaction can be absent.

Enums§

ActorType
Sender or receiver classification for a log event.
Channel
Standardized log channels shared across the application. Note: “event” here means a series of messages with a specific effect
EventType
High-level event categories.

Type Aliases§

Payload
Simple key–value payload: string → string.