SimplePrinter constructor

SimplePrinter({
  1. LogConfig? config,
})

Simple printer that outputs basic, compact log messages in a single line.

Ideal for minimal output needs such as CLI tools, performance-focused apps, or when logs need to remain readable in raw text or terminal formats.

Configuration allows showing log level, timestamp, tag, errors, etc.

Implementation

SimplePrinter({LogConfig? config}) : config = config ?? LogConfig();