I see that LogInfo
has ScopeState
property, but i am not sure how to format it into the log prefix efficiently.
For example, using Microsoft.Extensions.Logging.Console, I have the following log:
dbug: LibProtodec.CilProtodecContext[1525321048]
=> Parsing message from type "ProtoObject.SimCombatWeekly" => Parsing property "StepB" of type "ProtoObject.SimCombatWeekStepB"
Parsed as message field "step_b" with id "17" of type ".SimCombatWeekStepB".
The first line comes from the scope, the second from the log. I would like to recreate something similar to this with ZLogger.