baldrick-broth
Version:
Build automation tool and task runner
20 lines (19 loc) • 805 B
TypeScript
import winston from 'winston';
import { type LogMessage } from './log-model.js';
declare class BrothLogger {
thatLogger: winston.Logger;
constructor();
info(message: string | Record<string, unknown>): void;
warn(message: string | Record<string, unknown>): void;
error(message: string | Record<string, unknown>): void;
}
/**
* Warning: despite expectation the currentTaskLogger is instanciated multiple times,
* possibly because the file is imported multiple times.
*/
export declare const currentTaskLogger: BrothLogger;
export declare const currentTaskWarn: (content: LogMessage) => void;
export declare const telemetryTaskLogger: winston.Logger;
export declare const telemetryTaskRefLogger: winston.Logger;
export declare const replayLogToConsole: () => Promise<void>;
export {};