themes
Package: @autotracer/logger · Layer: Runtime · Type: object
themes is the exported preset collection from @autotracer/logger. Use it when you want a complete Theme object for logger.setTheme(theme) or setTheme(theme).
The built-in presets are:
themes.defaultfor the empty default themethemes.minimalfor text prefixes without colorsthemes.emojifor emoji prefixes plus colorsthemes.monochromefor ASCII-style prefixes without colors
Setting one of these presets replaces the current theme configuration, because setTheme(...) replaces the entire current theme.
Usage
typescript
import { setTheme, themes } from "@autotracer/logger";
setTheme(themes.monochrome);