As long as I used the fluent configuration, all was well and indeed I received Verbose output like I expected. When I did not, the base configuration was set for Information, I think. So, no Debug, no Verbose, and so on. Half as expected, i.e. by design in its configuration, but did not configure like I wanted.
So... It's an acceptable workaround, but thought you might like to know.
I am trying to reconfigure my serilog logging for unit test verification in my scenarios and I can only get the reconfigure to work as follows:
Trying to follow the examples does not work, i.e.:
Then I turn around and assign the logger:
As long as I used the fluent configuration, all was well and indeed I received
Verbose
output like I expected. When I did not, the base configuration was set for Information, I think. So, noDebug
, noVerbose
, and so on. Half as expected, i.e. by design in its configuration, but did not configure like I wanted.So... It's an acceptable workaround, but thought you might like to know.