❔ serilog problem
I am trying to log something to the console with fixed color, but i cant, basically i want to log data sent from server to the console with green color and data sent from client to the console with red client with level
verbose
but the problem is that i cant find a way to do it, all i can find is automatic templating that changes every word color8 Replies
You'd have to build a custom sink
oof
thats too hard 😦
Or have two loggers with different dettings (easier, but not recommended)
too bad there isnt a built in one
dunno if serilog can take 'properties' like NLog info but may pass the 'from' in property with for exemple Client and Server as value then check this property for redirect to two different log parameters ?
good idea
i am trying to figure that out
seems too confusing
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.