winston-transport-logtail
Version:
logtail.com transport for winston v3 logger
10 lines (9 loc) • 333 B
TypeScript
import { Context } from "@logtail/types";
import { Logtail } from "@logtail/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: Logtail): Context;