Log Specification¶
Log files are saved by date under logs/ inside the data folder. The main prefixes and their meaning:
| Prefix | When written | What it contains |
|---|---|---|
[STARTUP] |
Top of OnStartup | Version, OS, .NET runtime, architecture, PID |
[STARTUP-TIMING] |
Measurement points in OnStartup | Elapsed time for before-MainWindow-ctor / after-MainWindow-ctor |
[CTOR-TIMING] |
Inside the MainWindow constructor | InitializeComponent / before-ApplySettings / after-ApplySettings / after-RebuildNavLayout |
[APPLY-TIMING] |
Inside ApplySettings |
before-LoadTheme / after-LoadTheme / before-LoadAiSettings / after-LoadAiSettings |
[LOADED-TIMING] |
From Window_Loaded onwards |
before-InitializeAsync / after-InitializeAsync / before-Favorites / after-Favorites |
[PaneLayout] |
When panes are restored | Restore: PaneWidthRatio=..., corrected=..., split=..., paneCount=... |
[PLACEMENT] |
Window placement restore | Input (saved values) and Output (after correction), intersectsAny |
[AI-SYNC] |
AI feature state sync | MainVM.OnIsAiEnabledChanged=... / AppSettingsVM.OnIsAiEnabledChanged=... |
[SearchPresets] |
Loading search presets | Built-in count, total count |
[Update] |
Update processing (see 9-3-7) | Check started/result, download started/finished, StateChanged, ApplyAndRestart, ApplyOnExit, ShowRestartPopup |
[CLOSING] |
On window close | WindowState, ForceClosing, Resident, window position and size |
[Index] / [Indexer] |
Index processing | Scan start/finish, incremental update, idle wait |
Errors are recorded through WarnAsync / ErrorAsync and include the exception type, message, stack trace and HResult.
Zenith Filer -- File management that achieves both efficiency and beauty.