Skip to content
ct

Class

LogSink

Generated GDScript class reference for CalendarTime.LogSink.

Status
Current
Version
v2.0.4
Updated
2026-08-09

LogSink — plugin log routing convention. GDScript has no formal interfaces. Subclass this Resource or duck-type its methods. Inject via CalendarTimeLogger.set_logger(...). Redirect errors, warnings, and info to your log file, UI, or telemetry. All methods take a p_source string (e.g. "GameClock", "AgeService") 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