ItemVaultLogSink — interface for ItemVault log routing. Games subclass this and inject an instance via [method ItemVaultLogger.set_log_sink] to redirect ItemVault's runtime output (errors, warnings, info) into their own logging destination — a log file, in-game notification surface, telemetry sink, or silent drop. The plugin doesn't know or care; it just emits structured log events. All methods take a p_source string (e.g. "InventorySave", "PickupsCollector2D", "MoveOnSpawn") so a game-side sink can filter by category. Note: GDScript has no formal interfaces. This is a RefCounted convention; callers should subclass [ItemVaultLogSink] and implement [method error], [method warn], and [method info].
Source: addons/item_vault/logging/item_vault_log_sink.gd
Syntax
class ItemVaultLogSink extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
error | Method | |
warn | Method | |
info | Method |