Timo Hocker b58af27719
All checks were successful
continuous-integration/drone/push Build is passing
add debug logging
2022-01-05 12:32:04 +01:00

10 lines
256 B
TypeScript

import build_debug from 'debug';
function debug (scope: string): build_debug.Debugger {
const namespace = `sapphirecode:auth-server-helper:${scope}`;
console.log ('register debugger', namespace);
return build_debug (namespace);
}
export { debug };