UNPKG

@denodnt/logger

Version:

deno logger available for deno and NPM

24 lines 558 B
/** * Deno stdout log function * @param msg */ export declare function stdout(msg: Uint8Array): Promise<void>; /** * default log function * @param args */ export default function log(...args: unknown[]): void; /** * No operation function */ declare function noop(): void; /** * Only output to stdout when the terminal is a TTY */ export declare const stdoutOnlyTty: typeof stdout | typeof noop; /** * Only output to console when the terminal is a TTY */ export declare const logOnlyTty: typeof log; export {}; //# sourceMappingURL=stdout.d.ts.map