Author : HASSAN MD TAREQ | Updated : 2020/12/11

Qucik logging using Microsoft Extensions Logging

using Microsoft.Extensions.Logging;

namespace WebJobDemo
{
    public class Functions
    {
        public static void Xxx()
        {
            ILogger logger = new LoggerFactory().CreateLogger<Functions>();

            logger.LogInformation("Foo Bar Baz");
        }
    }
}

Using Serilog