Defined in: constants/logger_settings.ts:4
Properties
consoleLevel
consoleLevel:
LogLevel
Defined in: constants/logger_settings.ts:31
Minimum log level for the console output. Default: 'info'
fileLevel
fileLevel:
LogLevel
Defined in: constants/logger_settings.ts:37
Minimum log level for the file output. Default: 'info'
logPath?
optionallogPath:string
Defined in: constants/logger_settings.ts:12
The path where to log. If null or undefined, the default OS log directory will be used:
- Windows:
%APPDATA%\<bundle-identifier>\logs - Linux:
~/.local/share/<bundle-identifier>/logs - macOS:
~/Library/Logs/<bundle-identifier>
logType
logType:
LogType
Defined in: constants/logger_settings.ts:19
Log type:
- 'session': New file each time application is opened (session_datetime.log)
- 'unified': Files named app_number.log with incremental numbers.
maxFileSize
maxFileSize:
number
Defined in: constants/logger_settings.ts:25
Max file size in bytes for unified logging before rotation. Default: 5MB (5 * 1024 * 1024)