List of supported logging levels
Zettelstore supports various levels of logging output. This allows you to see the inner workings of Zettelstore, or to avoid it.
Each level has an associated name and number. A lower number signals more logging output.
Name | Number | Description |
Trace | 1 | Show most of the inner workings |
Debug | 2 | Show many internal values that might be interesting for a Zettelstore developer. |
Sense | 3 | Display sensing events, which are not essential information. |
Info | 4 | Display information about an event. In most cases, there is no required action expected from you. |
Warn | 5 | Show a warning, i.e. an event that might become an error or more. Mostly invalid data. |
Error | 6 | Notify about an error, which was handled automatically. Something is broken. User intervention is not required, in most cases. Monitor the application. |
Fatal | 7 | Notify about a significant error that cannot be handled automatically. At least some important functionality is disabled. |
Panic | 8 | The application is in an uncertain state and notifies you about its panic. At least some part of the application is possibly restarted. |
Mandatory | 9 | Important message will be shown, e.g. the Zettelstore version at startup time. |
Disabled | 10 | No messages will be shown |
If you set the logging level to a certain value, only messages with the same or higher numerical value will be shown. E.g. if you set the logging level to warn
, no trace
, debug
, sense", and
infomessages are shown, but
warn,
error,
fatal,
panic, and
mandatory"" messages.