KissLog is a lightweight, customizable and powerful Logging tool for .NET
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

KissLog logo

KissLog represents a powerful logging and monitoring solution for .NET applications.

Some of the main features of KissLog are:

🔹 Centralized Logging, Diagnostics and Error Reporting

🔹 Automatically captures all the exceptions

🔹 Provides a lightweight, yet powerfull logging interface for developers

🔹 Provides ready-to-use cloud or on-premises integration

Please check the Wiki page for a complete documentation.

Quick guide

Framework support

Logging interface

_logger.Info($"Recover password email sent for email {emailAddress}");

_logger.Debug(new { Id = 10, Price = 100.4M, Name = "Product 1" });

Logging files

KissLog exposes methods which allows developers to save and log raw data as files.

byte[] archive = File.ReadAllBytes(@"C:\Files\");
_logger.LogAsFile(archive, "");

string path = @"C:\Files\Invoice-16-11-2017.pdf";
_logger.LogFile(path, "Invoice.pdf");

Error reporting

KissLog captures all the unhandled exceptions.

Requests tracking

KissLog monitors all the Http requests, regardless if they are successful or not.

Logs target

KissLog comes with built-in log targets, saving the logs on:

  • Local text files
  • KissLog cloud / on-premises

Additionally, developers can create custom output targets for saving the logs.

Focused for developers

KissLog goal is to create an unobtrusive logging framework for .NET.

With this in mind, KissLog is built on the following principles:

  • It is easy to install for existing, legacy applications

  • It is lightweight, and it does not bring unnecessary dependencies

  • Transparent configuration (we try to avoid confusing xml settings)

  • It is highly customisable, being adaptive to application changes and specific scenarios