/Logger

A library extension method that documents any events or incidents onto an Elasticsearch database. With Logger, the backend logs every event that occurs and saves it.

Primary LanguageC#MIT LicenseMIT

Build Status

Azure DevOps tests

Package Version
SimplyWorks.Logger Nuget

Introduction

Logger is a library extension method that documents any events or incidents onto an Elasticsearch database. With Logger, the backend logs every event that occurs, and saves it.

Getting Started

Logger is available as a package on NuGet.

To use Logger, you will require the SeriLog library.

Setting Up Logger

 public class Program
    {
        public static void Main(string[] args)
        {
            CreateHostBuilder(args).Build().Run();
        }

        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDfaults(webBuilder =>
                {
                    webBuilder.UseStartup<Startup>();
                })
                .UseSwLogger();
    }
        

Getting support 👷

If you encounter any bugs, don't hesitate to submit an issue. We'll get back to you promptly!