UNPKG

@toreda/log

Version:

Lightweight TypeScript logger with flexible custom transports.

18 lines (17 loc) 444 B
import { ANY } from '@toreda/types'; import { Log } from '../../log'; import { LogStateGlobal } from '../state/global'; /** * Used by makeGroup in a existing Log * * @category Options */ export declare type LogOptionsGroup = { state: LogStateGlobal; id: string; parent?: Log; path?: string[]; enabled?: boolean; level?: number; }; export declare function isLogOptionsGroup(options: ANY): options is LogOptionsGroup;