agent-plugin-logging / Exports / FileLogStorage
Class: FileLogStorage
File log storage (placeholder implementation)
Implements
Table of contents
Constructors
Methods
Constructors
constructor
• new FileLogStorage(filePath, formatter?): FileLogStorage
Parameters
| Name | Type |
|---|---|
filePath | string |
formatter? | ILogFormatter |
Returns
Defined in
agent-plugin-logging/src/storages/file-storage.ts:13
Methods
write
▸ write(entry): Promise<void>
Parameters
| Name | Type |
|---|---|
entry | ILogEntry |
Returns
Promise<void>
Implementation of
Defined in
agent-plugin-logging/src/storages/file-storage.ts:19
flush
▸ flush(): Promise<void>
Returns
Promise<void>
Implementation of
Defined in
agent-plugin-logging/src/storages/file-storage.ts:35
close
▸ close(): Promise<void>
Returns
Promise<void>