All files / src logger.ts

60% Statements 3/5
100% Branches 0/0
50% Functions 2/4
60% Lines 3/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9    1x 1x   21x      
import { ILogger } from "./models/logger";
 
export const defaultLogger: ILogger = {
    debug: (message: string, obj: any) => console.debug,
    error: (message: string, obj: any) => console.error,
    info: (message: string, obj: any) => console.info,
    log: (message: string, obj: any) => console.log,
};