printx_logger library

Classes

AnsiColors
ANSI color codes for terminal output
ColorizedFormatter
Colorized formatter using ANSI color codes
ConsoleSink
Console sink that outputs to stdout/stderr
DeveloperSink
Developer sink that integrates with dart:developer for DevTools
FileSink
File sink that writes logs to a file with optional rotation
HttpSink
HTTP sink that sends logs to a remote endpoint
JsonFormatter
JSON formatter for structured logging
LevelFilter
Filter that only allows log entries at or above a minimum level
LogEntry
Represents a single log entry with all its metadata
LogFilter
Abstract base class for log filters
LogFormatter
Abstract base class for log formatters
LoggerBase
Base logger implementation with sink management and filtering
LogManager
Singleton manager for all loggers in the application
LogRotation
Utility class for log rotation functionality
LogSink
Abstract base class for all log sinks
PlatformUtils
Utility class for platform detection and capabilities
PredicateFilter
Filter using a custom predicate function
PrintX
Main PrintX class providing a simple, print-like API
PrintXSpecializedLogger
Specialized logger wrapper for pre-configured loggers
SimpleFormatter
Simple text formatter without colors
TagFilter
Filter based on log tags

Enums

LogLevel
Represents the severity level of a log entry
RotationType
Log rotation types

Functions

unawaited(Future<void> future) → void
Helper for unawaited futures