Using Serilog with configuration from appsettings.json #22194
Replies: 1 comment
-
|
Hello @StevenBoelens , Now to your Question about using Serilog usage in Uno Projects: Indeed, Serilog is my preferred Logging kind in one of my Repos: https://github.com/DevTKSS/DevTKSS.MyManufacturerERP
Added Links on this I hope they will check the other Problems filed there too, because fun-fact: from what I see Uno doing:
Or how would you read this calling those seperate functions? Maybe I am just blind... 👀 From what I understand, if I would do this in my code:
So... I guess, if we want to use this extension with having our own templates applyed (no the Serilog Extension provides no access to In my Apps, I prefer to use Serilog especially, when it comes to file logging requirement, which (from my POV) makes always sense as soon as it shall run in Production in any Future 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
is it possible to use the Uno platform with Serilog logging and configure the sinks using configuration in the Serilog section of appsettings.json?
Does someone have an example that shows how to set this up?
My app is for desktop platforms only (Mac, Windows, Linux) and uses skia, MVVM and of course Serilog.
In another solution (not Uno platform) I already use Serilog with the following configuration in appsettings.json.
Regards,
Steven.
Beta Was this translation helpful? Give feedback.
All reactions