Chris' Tutorials
Docs/Calendar Time

Class

LogSink

Generated GDScript class reference for CalendarTime.LogSink.

StatusCurrent
Versionv2.0
UpdatedGenerated from GDScript addon source
Source note:This page rendered plugin-owned docs or generated metadata inside unified Astro docs shell.

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 RefCounted

Members

NameKindSummary
errorMethod
warnMethod
infoMethod

Source

addons/calendar_time/utils/log_sink.gd

Plugin docs root:gdscript/plugins/calendar_time_dev/docs