home.social

#serilog — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #serilog, aggregated by home.social.

  1. @nblumhardt Look, #JetBrainsRider learned a new #OpenTelemetry trick and it works pretty well with #SeriLog
    I wish there would be a similar @seq plugin for Rider that would just spin up a local dev Seq instance for me and sow the logs directly in the IDE.

    github.com/bitbonk/OTELSerilog

    #dotnet #o11y #observability #dotnet

  2. @nblumhardt I am using Microsoft.Extension.Logging and System.Diagnostics.Activity for logging and #Serilog just for the sinks. Now I would like to log to #Seq (`WriteTo.Seq()`) and also enable traces and spans. Is there a place where I can see/learn how to do this?

  3. So I've done some C# [#csharp] today. I tried reproducing some things I really liked in the `tracing` crate in Rust:

    - The module path to the function (the call site or something ?)
    - Inline parameters as context

    I tried #NLog. It works very well, but getting the call site was either performance expensive or I had to do a dance when logging stuff.

    I checked out #Serilog, I haven't found something where the class logging the message would be written.

    I tried #log4net. The doc is a bit lackluster (where the fsck is the API doc !?) but I was able to log the module calling the log function. Haven't tried with properties yet.

    Do you have any #logging libs I should checkout or some examples on paw ?

  4. Hey #dotnet #dev s,
    heard of #Serilog ?

    If not, time to look into it!

    Great Video by Milan Jovanović (does someone know his mastodon address?)

    youtube.com/watch?v=w7yDuoCLVv

    #GLHF

    #seesharp #csharp #logging #youtube