Skip to content

agent-plugin-logging / Exports / JsonLogFormatter

Class: JsonLogFormatter

JSON formatter for file/remote logging

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new JsonLogFormatter(): JsonLogFormatter

Returns

JsonLogFormatter

Methods

format

format(entry): string

Parameters

NameType
entryILogEntry

Returns

string

Implementation of

ILogFormatter.format

Defined in

agent-plugin-logging/src/formatters.ts:22

Released under the MIT License.