Skip to content

agent-plugin-logging / Exports / ConsoleLogStorage

Class: ConsoleLogStorage

Console log storage

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new ConsoleLogStorage(formatter?, logger?): ConsoleLogStorage

Parameters

NameType
formatter?ILogFormatter
logger?ILogger

Returns

ConsoleLogStorage

Defined in

agent-plugin-logging/src/storages/console-storage.ts:12

Methods

write

write(entry): Promise<void>

Parameters

NameType
entryILogEntry

Returns

Promise<void>

Implementation of

ILogStorage.write

Defined in

agent-plugin-logging/src/storages/console-storage.ts:17


flush

flush(): Promise<void>

Returns

Promise<void>

Implementation of

ILogStorage.flush

Defined in

agent-plugin-logging/src/storages/console-storage.ts:37


close

close(): Promise<void>

Returns

Promise<void>

Implementation of

ILogStorage.close

Defined in

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

Released under the MIT License.