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 10 11 12 13 14 | 3x 3x 32x | import {Logger} from 'tslog'; import {ILogObj} from 'tslog/dist/types/interfaces'; /** * Instantiates the Logger for a given name. The name is usually the class name, so that it makes it easier to debug the code. * * @param name Name of the instantiated logger */ export function getLogger(name: string) { return new Logger<ILogObj>({ name: name, }); } |