LogMetadata

Hierarchy

  • LogMetadata

Implements

Index

Constructors

Properties

Constructors

constructor

+ new LogMetadata(description: string, value?: any, keys?: string[]): LogMetadata

Creates an instance LogMetadata. Creates an instance LogMetadata.

Parameters:

NameTypeDescription
descriptionstringDescription of logged metadata entry.
value?anyLogged value.
keys?string[]Optional array of properties keys when provided value is an object. Allows to display only selected ones back on log entry.

Returns: LogMetadata

Properties

Readonly description

• description: string

Implementation of LogMetadata.description


Optional Readonly keys

• keys? : string[]

Implementation of LogMetadata.keys


Optional Readonly value

• value? : any

Implementation of LogMetadata.value