viva_aion/log
VIVA Aion Logging - Structured logging for deterministic world generation
Usage
import viva_aion/log
// Initialize once at startup
log.configure()
// Log operations
log.generator("New world seed: 0x1A2B3C")
log.pathfinding("Path found: length=42 cost=15.5")
log.bounce("Entropy transfer: 1.45 bits -> new seed")
Log Levels
- Debug: Internal details (stack operations, RNG steps)
- Info: Normal operations (generation, path found, bounce)
- Warning: Edge cases (path not found, low entropy)
- Error: Failures (grid corruption)
Values
pub fn configure() -> Nil
Initialize logging with pretty Gleam output Call once at application startup
pub fn pathfinding(details: String) -> Nil
Log pathfinding operations (BFS, A*, Retrocausal)