UNPKG

bunyamin

Version:

Bunyan-based logger for Node.js supporting Trace Event format

11 lines (10 loc) 324 B
import type { ThreadID } from '../../types'; export type MessageStackOptions = { noBeginMessage?: unknown; }; export declare class MessageStack { #private; constructor(options?: MessageStackOptions); push(tid: ThreadID | undefined, message: unknown[]): void; pop(tid: ThreadID | undefined): unknown[]; }