| 28 | } |
| 29 | |
| 30 | export declare class Logger { |
| 31 | constructor (config: SeqLoggerConfig) |
| 32 | /** |
| 33 | * Enqueue an event in Seq format. |
| 34 | * @param {*} event |
| 35 | * @returns {void} |
| 36 | */ |
| 37 | emit (event: SeqEvent): void |
| 38 | /** |
| 39 | * Flush then destroy connections, close the logger, destroying timers and other resources. |
| 40 | * @returns {Promise<void>} |
| 41 | */ |
| 42 | close (): Promise<void> |
| 43 | /** |
| 44 | * Flush events queued at the time of the call, and wait for pending writes to complete regardless of configured batching/timers. |
| 45 | * @returns {Promise<boolean} |
| 46 | */ |
| 47 | flush (): Promise<boolean> |
| 48 | } |
nothing calls this directly
no outgoing calls
no test coverage detected