LogoRobo.js
Framework

FileOutputConfig

Interface: FileOutputConfig

Configuration for a file-based log output.

Properties

PropertyTypeDescription
colorMap?booleanGenerate a companion .colormap file that records ANSI escape code positions. This allows colors to be reconstructed from stripped log files. Default: false
format?"text" | "json"Output format: 'text' for human-readable, 'json' for structured. Default: 'text'
level?LogLevelMinimum log level to write to this file. Inherits from logger.level if not set.
maxFiles?numberMaximum number of rotated files to keep. Default: 5
maxSize?numberMaximum file size in bytes before rotation. Default: 10MB (10485760)
pathstringFile path for log output. Relative paths resolved from project root.
timestamp?TimestampFormatTimestamp format for this file. Overrides global logger.timestamp if set.

On this page