src/hooks/debug.ts
Function debug
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function debug<H extends HookContext = HookContext>(msg: string, ...fieldNames: string[]) {
return (context: H) => {
// display timestamp
const now = new Date();
console.log(