LogSink — interface for plugin log routing. Note: GDScript doesn't have formal interfaces. LogSink is a Resource convention — games subclass it (or duck-type the methods) and inject via CalendarTimeLogger.set_logger(...). Games implement this to redirect Calendar Time's runtime output (errors, warnings, info) to their own logging destination — a log file, an in-game notification system, telemetry, silent, whatever. The plugin doesn't know or care; it just emits structured log events. All methods take a p_source string (e.g. "GameClock", "AgeService", "ClockValidator") so a game-side sink can filter by category.
Source: addons/calendar_time/utils/log_sink.gd
Syntax
class LogSink extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
error | Method | |
warn | Method | |
info | Method |
Source
addons/calendar_time/utils/log_sink.gd
Plugin docs root:gdscript/plugins/calendar_time_dev/docs