@grow-codes/graylog - v0.1.1
    Preparing search index...

    Interface GelfTransport

    Sends GELF messages to a Graylog input.

    interface GelfTransport {
        protocol: GelfProtocol;
        close(): Promise<void>;
        send(
            messages: readonly GelfMessage[],
            options?: GelfSendOptions,
        ): Promise<GelfSendResult>;
    }

    Implemented by

    Index
    protocol: GelfProtocol

    udp, tcp or http.

    • Releases sockets; idempotent. Later sends throw ConfigError.

      Returns Promise<void>