You can integrate with VidiFlow's logging stack by defining a property/field of type ILogger<<task name>Processor>. It provides methods for different log levels that should be used according to the following guideline
|
Log level |
Use cases |
|
Info |
Start and end of an event / action / process
|
|
Debug |
Information for configuration
|
|
Trace |
Process tracking (if required with important runtime values)
|
|
Warn |
Exceptional situation which does not interrupt but interferes with the normal process execution |
|
Error |
Error which leads to the interruption of the process |
|
Verbose |
Process tracking in loops
|
|
Fatal |
Do not use! |
Note that by default the Verbose log level will be not be propagated through the log stack to prevent large log messages from slowing down the system.