/// /** * Creates a logger scoped by service and context */ import winston from "winston"; import stream from "stream"; export interface LogFormat { message: string; level: string; context: string; } export declare class LogStream extends stream.Transform { private writeLog; constructor(streaming?: boolean); read(size?: number): LogFormat; _write(chunk: string, encoding: any, callback: (error?: Error) => void): void; private writeJSON; private writeConsole; } export declare const makeLogger: (context: string, path?: string) => winston.Logger; export declare const getLogStream: () => LogStream;