UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

13 lines (8 loc) 383 B
import {Constructable, Mixin} from "../../../generic/util/Common.js"; import {CanLog} from "../../../generic/util/role/CanLog.js"; export const NodeJsLogger = <T extends Constructable>(base : T) => class NodeJsLogger extends CanLog<Constructable>(base) { printLn (message : string) { console.log(message) } } export type NodeJsLogger = Mixin<typeof NodeJsLogger>