UNPKG

@canalplus/readme.doc

Version:

Readme's an Extremely Accessible Documentation MakEr

8 lines (7 loc) 257 B
/** * Output on stdout the given log with the right level. Add ANSI color escape * codes if stdout is currently a tty. * @param {string} level * @param {string} msg */ export default function log(level: "LOG" | "WARNING" | "ERROR", msg: string): void;