Skip to content

Logging

lord-willard edited this page Jan 16, 2025 · 5 revisions

Igor provides logging at different log levels which are visible depending in which mode Igor is run

Log Levels

Level Description Visibility
IGOR Used when communicating requests or information to the user Always
ERROR Meant to signal to the user that an error has occurred Always
INFO Helps notify the developer/user about background processes happening --verbose or --develop
DEBUG Useful when logging detailed output of processes to track the flow of an action --verbose and --develop
TRACE Helpful when the developer needs to log information about a process without all the clutter provided by the DEBUG log level Always

Default

Starting Igor in its default mode, only the necessary information is displayed.

Default Mode

Verbose Output

When enabling verbose output on Igor, INFO level logs will also be presented to the user.

Image Alt Text

Development Mode Enabled

When starting Igor in development mode, INFO level logs will also be presented to the developer. This is similar output as to enabling verbose output.

Development Mode and Verbose Output Enabled

When enabling verbose output while starting Igor in development mode , DEBUG level logs will be visible to the developer.

Image Alt Text

Clone this wiki locally