logd
library
Classes
-
AlignmentNode
-
A container that applies horizontal alignment to its children.
-
AnsiEncoder
-
An encoder that produces colorized ANSI output for terminals.
-
Arena
-
-
ArenaDocument
-
-
ArenaEngine
-
A fallback stub for ArenaEngine on unsupported platforms (like Web).
-
AutoConsoleEncoder
-
An encoder that automatically chooses between AnsiEncoder and
PlainTextEncoder based on terminal capabilities.
-
BoxDecorator
-
A LogDecorator that wraps logs in a box.
-
BoxNode
-
A framed container (box).
-
ConsoleSink
-
A LogSink that encodes and outputs logs to the system console.
-
ContentDecorator
-
A decorator that modifies the content or metadata of a LogDocument.
Examples: masking PII, adding prefixes PrefixDecorator.
-
ContentNode
-
A leaf node containing actual text content.
-
ContextFilter
-
A LogFilter that filters log entries based on their structured context.
-
DecoratedNode
-
A node that applies decoration (prefix/suffix) to its content.
-
DecorationHint
-
Semantic hint strings for DecoratedNode.leadingHint and
DecoratedNode.trailingHint.
-
EncodingSink
-
A LogSink that encodes logs using an interchangeable LogEncoder.
-
ErrorNode
-
Error information.
-
FastStringWriter
-
A utility for converting static strings (like ANSI escape codes) into
pre-calculated UTF-8 bytes to avoid encoding them multiple times.
-
FileRotation
-
-
FileSink
-
A fallback stub for FileSink on unsupported platforms (like Web).
-
FillerNode
-
A node that fills remaining line width with a character.
-
Supplementary info (origin, stack trace).
-
GroupNode
-
A simple logical grouping of blocks with no visual styling.
-
Handler
-
Composes a LogFormatter, a LogSink, and optional filters and decorators.
-
HandlerContext
-
A reusable encoding buffer for log serialization.
-
Primary metadata section (timestamp, level, logger).
-
HierarchyDepthPrefixDecorator
-
A LogDecorator that adds a tree-like hierarchy visualization based on the
LogEntry.hierarchyDepth.
-
HtmlEncoder
-
An encoder that transforms LogDocument into HTML markup.
-
HttpSink
-
A NetworkSink that transmits logs via HTTP POST.
-
IndentationNode
-
A nested/indented container.
-
IsolateSink
-
A fallback stub for IsolateSink on unsupported platforms (like Web).
-
JsonEncoder
-
An encoder that serializes LogDocuments into structured JSON.
-
JsonFormatter
-
A LogFormatter that transforms a LogEntry into
a single-line JSON string.
-
JsonPrettyFormatter
-
A LogFormatter that transforms a LogEntry
into a pretty-printed, optionally styled JSON string.
-
LayoutNode
-
A container node that defines the visual structure or layout.
-
LevelFilter
-
Filters entries below a minimum level.
-
ListNode
-
A node that carries raw structured data as a list.
-
LogBuffer
-
Efficient buffer for building multi-line log messages before syncing.
-
LogColorScheme
-
Configuration for color schemes based on log levels.
-
LogDecorator
-
Base class for log document decorators, formally classified by their effect.
-
LogDocument
-
An intermediate representation (IR) of a structured log entry.
-
LogEncoder
-
Encodes LogDocuments into a serialized format <T>.
-
LogEngine
-
The orchestration layer for the logging pipeline.
-
LogEntry
-
Structured representation of a log event passed to handlers.
-
LogFilter
-
Abstract base for filtering log entries before processing.
-
LogFormatter
-
Abstract interface for transforming a LogEntry into a semantic
LogDocument.
-
Logger
-
Main logd interface.
-
LoggerConfig
-
Configuration overrides for a Logger, holding optional fields that
can inherit from parent.
-
LoggerMetrics
-
Observability API for monitoring Logger performance and memory lifecycle.
-
LoggerSerializationRegistry
-
Registry for serializing and deserializing logging pipeline components.
-
LogNode
-
The base class for all nodes in a LogDocument tree.
-
LogPipelineFactory
-
An abstraction for log resource allocation and management.
-
LogSink<T>
-
Abstract base class for outputting logs to a destination.
-
LogStyle
-
Visual style suggestion for a log segment.
-
LogTag
-
Semantic tags describing the content of a LogNode.
-
LogTheme
-
Defines a theme for logging, mapping semantic concepts to LogStyles.
-
MapNode
-
A node that carries raw structured data as a mapping.
-
MarkdownEncoder
-
An encoder that transforms LogDocument into Markdown (GFM) markup.
-
MessageNode
-
The main log message.
-
MetadataNode
-
Diagnostic metadata sections.
-
MultiSink
-
A LogSink that broadcasts logs to multiple child LogSinks.
-
NativeEngine
-
A fallback stub for NativeEngine on unsupported platforms (like Web).
-
NativeIsolateSink
-
A fallback stub for NativeIsolateSink on unsupported platforms (like Web).
-
NetworkSink
-
A base class for network-based sinks that require an internal buffer.
-
ParagraphNode
-
A node that forces its children to be flowed and wrapped as a paragraph.
-
PhysicalDocument
-
An intermediate, "camera-ready" representation of a log document.
-
PhysicalLine
-
A single line in a PhysicalDocument.
-
PlainFormatter
-
A lightweight formatter that outputs log entries as simple, readable text.
-
PlainTextEncoder
-
A simple encoder that joins lines with newlines, ignoring styles.
-
PrefixDecorator
-
A LogDecorator that prepends a fixed string to each log line.
-
RegexFilter
-
Filter log entry on message regex match.
-
RowNode
-
A node that lays out its children horizontally on a single physical line.
-
SectionNode
-
A collapsible/expandable section.
-
SizeRotation
-
Rotates log files based on file size. Stub fallback on unsupported
platforms.
-
SocketSink
-
A NetworkSink that transmits logs via a WebSocket.
-
StackTraceParser
-
Parser for extracting useful information from stack traces.
-
StandardDocument
-
The standard, object-based implementation of LogDocument.
-
StandardEngine
-
A LogEngine that utilizes Dart language's standard heap allocation.
-
StandardPipelineFactory
-
A LogPipelineFactory that uses standard heap allocation (no pooling).
-
StructuralDecorator
-
A decorator that modifies the layout or structure of log output.
Examples: BoxDecorator, adding dividers, or indentation.
-
StructuredFormatter
-
A LogFormatter that formats log entries in a structured layout.
-
StyleDecorator
-
A LogDecorator that applies semantic styles to a LogDocument based on a
LogTheme.
-
StyledText
-
A semantic segment of a log line.
-
SuffixDecorator
-
A LogDecorator that appends a fixed string to each log line.
-
TableCellNode
-
A cell within a TableRowNode.
-
TableNode
-
A structural node for grid-based layouts.
-
TableRowNode
-
A row within a TableNode.
-
TimeRotation
-
Rotates log files based on time intervals. Stub fallback on unsupported
platforms.
-
Timestamp
-
A class for formatting timestamps with customizable patterns and timezone
support.
-
Timezone
-
Timezone configuration using IANA Time Zone Database.
-
ToonEncoder
-
An encoder that serializes LogDocuments into Token-Oriented Object
Notation (TOON).
-
ToonFormatter
-
A LogFormatter that facilitates Token-Oriented Object Notation (TOON).
-
ToonPrettyFormatter
-
A LogFormatter for TOON with "Wise" object representation.
-
ToonType
-
Semantic data types supported by the TOON protocol.
-
VisualDecorator
-
A decorator that modifies the visual appearance of characters.
Examples: StyleDecorator, bolding, or italics.