UNPKG

@deepkush97/logger-ts

Version:

A simple logger implementation with typescript containing two transport method for logging.

6 lines (5 loc) 205 B
import { LogLevels } from "../utils/LogLevels"; import { Transport } from "./Transport"; export declare class ConsoleTransport implements Transport { log: (level: LogLevels, data: any) => void; }