Skip to content

agent-plugin-logging / Exports / RemoteLogStorage

Class: RemoteLogStorage

Remote log storage with batching

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new RemoteLogStorage(url, _options?): RemoteLogStorage

Parameters

NameType
urlstring
_optionsObject
_options.timeout?number

Returns

RemoteLogStorage

Defined in

agent-plugin-logging/src/storages/remote-storage.ts:24

Methods

write

write(entry): Promise<void>

Parameters

NameType
entryILogEntry

Returns

Promise<void>

Implementation of

ILogStorage.write

Defined in

agent-plugin-logging/src/storages/remote-storage.ts:41


flush

flush(): Promise<void>

Returns

Promise<void>

Implementation of

ILogStorage.flush

Defined in

agent-plugin-logging/src/storages/remote-storage.ts:49


close

close(): Promise<void>

Returns

Promise<void>

Implementation of

ILogStorage.close

Defined in

agent-plugin-logging/src/storages/remote-storage.ts:72

Released under the MIT License.