UNPKG

@logtail/node

Version:
10 lines (9 loc) 375 B
import { Context, StackContextHint } from "@logtail/types"; import { Node } from "./node"; /** * Determines the file name and the line number from which the log * was initiated (if we're able to tell). * * @returns Context The caller's filename and the line number */ export declare function getStackContext(logtail: Node, stackContextHint?: StackContextHint): Context;