When I run my Saturn app, I see some logs being written to the console.
Looks like they start with the LogLevel.Info
. How do I engage more detailed logging, i.e. how to properly set e.g. LogLevel.Trace
?
When I run my Saturn app, I see some logs being written to the console.
Looks like they start with the LogLevel.Info
. How do I engage more detailed logging, i.e. how to properly set e.g. LogLevel.Trace
?
Copyright © 2021 Jogjafile Inc.
A way to go is setting
logging
in the Saturn app builder:And you can do configuration like this:
The only Saturn example I found is here, in the Saturn samples. There are more for ASP.NET Core, on top of which Saturn is built.
The default log level is indeed
LogLevel.Info
:Remember not to set
LogLevel.Trace
for production: