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
| Name | Type |
|---|---|
url | string |
_options | Object |
_options.timeout? | number |
Returns
Defined in
agent-plugin-logging/src/storages/remote-storage.ts:24
Methods
write
▸ write(entry): Promise<void>
Parameters
| Name | Type |
|---|---|
entry | ILogEntry |
Returns
Promise<void>
Implementation of
Defined in
agent-plugin-logging/src/storages/remote-storage.ts:41
flush
▸ flush(): Promise<void>
Returns
Promise<void>
Implementation of
Defined in
agent-plugin-logging/src/storages/remote-storage.ts:49
close
▸ close(): Promise<void>
Returns
Promise<void>