UNPKG

@toreda/log

Version:

Lightweight TypeScript logger with flexible custom transports.

11 lines (10 loc) 226 B
import { Levels } from '../levels'; /** * Check if value is a valid log level. * * @param value * @returns * * @category Log Level */ export declare function checkLevel(value?: Levels | number | null): value is number;