All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.console.d.ts Maven / Gradle / Ivy

The newest version!
/**
 * Set the logging level.  By default, the level is set to 'info' and all
 * messages will be logged.  Set to 'warn' to only display warnings and errors.
 * Set to 'error' to only display errors.  Set to 'none' to silence all messages.
 *
 * @param {Level} l The new level.
 */
export function setLevel(l: Level): void;
/**
 * @param  {...any} args Arguments to log
 */
export function log(...args: any[]): void;
/**
 * @param  {...any} args Arguments to log
 */
export function warn(...args: any[]): void;
/**
 * @param  {...any} args Arguments to log
 */
export function error(...args: any[]): void;
export type Level = "info" | "warn" | "error" | "none";
//# sourceMappingURL=console.d.ts.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy