Skip to content

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.

License

Notifications You must be signed in to change notification settings

simplify9/Logger

Repository files navigation

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!

About

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.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published