FlushLogArgs

public class FlushLogArgs
{
    // StartDateTime, EndDateTime, Uri, Claims, Headers, Request properties, Response properties
    public WebRequestProperties WebRequestProperties { get; }

    // Log messages
    public IEnumerable<LogMessagesGroup> MessagesGroups { get; }

    // Last error captured - if any
    public string ErrorMessage { get; }

    // Logged files
    public IEnumerable<LoggerFile> Files { get; }
}

NuGet Package        KissLog
Namespace        KissLog

FlushLogArgs holds all the information captured by KissLog for an Http Request, including:

  • Request / Response properties
  • Log messages
  • Application exceptions
  • Logged files

This argument is passed for ILogListener.OnFlush(FlushLogArgs args) method.