KissLogApiListener

public class KissLogApiListener : ILogListener

NuGet Package        KissLog
Namespace        KissLog.Apis.v1.Listeners

KissLogApiListener represents a log listener which saves the log messages to KissLog cloud / on-premises.

Contents

Constructor

public class KissLogApiListener(string organizationId, string applicationId, string environment)

Parameters

  1. string organizationId
    Organization ID identifier found on Application Configuration page

  2. string applicationId
    Application ID identifier found on Application Configuration page

  3. string environment (optional)
    The current environment on which the application is running

Usage

KissLogConfiguration.Listeners.Add(
    new KissLogApiListener(
        "Organization ID",
        "Application ID",
        "Production"
    )
);