ILogListener

public interface ILogListener
{
    int MinimumResponseHttpStatusCode { get; set; }
    LogLevel MinimumLogMessageLevel { get; set; }
    LogListenerParser Parser { get; }

    void OnFlush(FlushLogArgs args);
}

NuGet Package        KissLog
Namespace        KissLog

ILogListener represents the component used by KissLog to persist the logs.

Implementing this contract, developers can create custom output locations for the log messages.

Log listeners are registered at Application startup code, using KissLogConfiguration.Listeners container.

Global.asax example:

protected void Application_Start()
{
    KissLogConfiguration.Listeners.Add(new KissLogApiListener(/**/));
    KissLogConfiguration.Listeners.Add(new LocalTextFileListener(/**/));
}