Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GrayLogsManager

Class responsible for holding graylog2 transport.
Uses winston-graylog2 npm package.

Hierarchy

  • GrayLogsManager

Implements

  • AbstractTransportManager

Constructors

Methods

Constructors

constructor

Methods

register

  • Registers a new graylog2 input.

    Parameters

    • input: string

      Input name, acting as an identifier.

    • endpoint: GraylogEndpoint

      Options based on which transport will be created.

    Returns void

setChannel

  • Defines a logging channel for module, which instructs the manager which log level and input to use for him.
    '@all' module can be specified as default channel.

    Parameters

    Returns void