Skip to main content

Shooting Star Presets

Logry offers several built-in logger presets.
Each preset is a set of normalizer and formatter settings for different log styles.

PresetDescription
prettyFormatted, easy to read
pretty-expandedexpanded output with line breaks
minimalSimple output with essential info only
verboseFull detail with context and depth

To use a preset, pass it when creating the logger:

const logger = logry({ preset: "pretty" });

Presets are fixed for now.
🎯 Custom presets may come in future versions.