All files Logger.ts

100% Statements 6/6
75% Branches 3/4
100% Functions 2/2
100% Lines 4/4

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 91x 21x 12x         1x  
export class Logger {
	public static log(message: string, logFunc: (msg: string) => void = console.log) {
		Iif (!process.env.NO_CONSOLE) {
			/* istanbul ignore next */
			logFunc(message);
		}
	}
}