ASP.NEt 3.0 : FormattedLogValues RRS feed

  • Question

  • User-1602535186 posted

    Below is the line of code which was running well in ASp.NET 2.1 but after upgrading from 2.1 to 3.0 it throws error

    var formattedMessage = new FormattedLogValues(message, values).ToString();

    What is the alternate to above code in ASP.NET 3.0

    Sunday, March 22, 2020 2:56 PM


  • User711641945 posted

    Hi TechAspirant,

    `FormattedLogValues` for .net core 3.x became an internal readonly struct.Could you share a simple demo about your scenario then we could give an alternate to your code.

    More details you could refer to the the following github issue:


    Best Regards,


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 23, 2020 2:04 AM