Log
Using the log object, you can can configure your Alfred UI to log to a file, the console, or the debugger in the Alfred Workflow editor.
{
"log": {
"path": "~/Desktop/auidebug.log",
"colourful": true,
"timestamp": true,
"level": "all",
"internal": true
}
}
Properties
- path
- STRING
- Optional
The path to the log file location. If you use a relative path, this will be written to the AlfredUI shared logs folder.
- level
- ENUM
- Default:
"none"
The increasing level of the logging to view.
| Value | Description |
|---|---|
"none" |
No logging. |
"error" |
Only log error items. |
"warning" |
Log warning and errror items. |
"info" |
Log info, warning and error items. |
"debug" |
Log debug, info, warning and error items. |
"verbose" |
Log verbose, debug, info, warning and error items. |
"all" |
Log everything. |