Skip to content

Sink

Everything under Quiote\Logging\Sink.

ClassDescription
AbstractStreamSinkBase for sinks that write one line per event to a stream.
AnsiTextStreamSinkTextStreamSink that colors warning-and-above lines so they stand out in an interactive terminal: yellow = warning red = error bold red = critical/alert/emergency Debug/info/notice are left uncolored — the goal is making problems jump out, not painting every line.
EmojiTextStreamSinkAnsiTextStreamSink with an emoji prefix per level, for local dev consoles where a quick visual scan matters more than a clean tail | grep.
FileSinkPlain-text sink that appends one line per event to a file on disk, creating the parent directory if it doesn’t exist yet (AbstractStreamSink’s lazy fopen() would otherwise fail silently against a missing directory).
JsonStdoutSinkDefault container sink: one compact JSON object per line to stdout.
TextStreamSinkHuman-readable single-line sink for local development.
InterfaceDescription
SinkInterfaceA destination for log events.