Options
All
  • Public
  • Public/Protected
  • All
Menu

DataDog appender for cxone-agent

Hierarchy

  • DatadogAppender

Implements

Index

Constructors

  • Set datadog logger

    example
    const dataDogAppender = new DatadogAppender()
    

    Parameters

    • logger: Logger

      Datadog logger instance

    • formatter: LogFormatter = ...

      Formatter to format and stringify LogEntry.

    Returns DatadogAppender

Properties

datadogLogger: Logger
formatter: LogFormatter = ...

Methods

  • Push formatted and stringified logEntry to datadog service.

    example
    • append(logEntry);

    Parameters

    • entry: LogEntry

      Specifies data and log level to be logged.

    Returns void

  • clear(): void

Generated using TypeDoc