[READ-ONLY] Mirror of https://github.com/FoxxMD/logging. A typed, opinionated, batteries-included, Pino-based logging solution for backend TS/JS projects foxxmd.github.io/logging
child-logger logging logging-library nodejs pinojs typescript-library
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: LogOptions file object check

FoxxMD (Mar 11, 2024, 1:22 PM EDT) f99c8aa6 3c12d2aa

+1 -1
+1 -1
src/funcs.ts
··· 11 11 const t = typeof val; 12 12 if (key === 'file') { 13 13 if (t === 'object') { 14 - return isFileLogOptions(t); 14 + return isFileLogOptions(val); 15 15 } 16 16 return t === 'string' || val === false; 17 17 }