-
Notifications
You must be signed in to change notification settings - Fork 5
Logging
Christian Luksch edited this page Jul 8, 2022
·
4 revisions
Here is a short summary how the Aardvark logging works and can be configured:
- In
Aardvark.Base
there is the static classReport
which is used to log something and logging can be configured - The log output is defined by
Report.Targets
which is aMultiLogTarget
and has aConsoleLogTarget
andLogTarget
(log file) as default -
Report.LogFileName
sets the file for theLogTarget
and the default is "Aardvark.log" right next to the startup location (needs to be set before first log output) -
Report.Verbosity
lets you control the verbosity ofConsoleLogTarget
(in general each log target has its own verbosity) - You can add/remove targets as you like
- A target needs to implement
ILogTarget
to for example redirect the Aardvark logging to another output