/// import WriteStream = NodeJS.WriteStream; import { LogData } from "./types"; /** * Writes the log to the provided output stream */ export declare class Writer { protected stream: WriteStream; /** * @param stream Writeable stream, by default stdout * @param shouldCloseOnExit If the logger should close this stream. Note depending on the order of exit handlers another exit handler could try to log something, which may result in a WRITE_AFTER_END error */ constructor(stream?: WriteStream, shouldCloseOnExit?: boolean); write(data: LogData): void; } export declare class DevWriter extends Writer { private static COLORED_LEVEL; write(data: LogData): void; private static formatTime; }