mirror of
https://github.com/unraid/api.git
synced 2026-05-09 08:41:12 -05:00
fix: child loggers
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ const noop = () => {};
|
||||
* being hit.
|
||||
*/
|
||||
export const logger = {
|
||||
createChild: (_options: { prefix: string }) => log,
|
||||
createChild: (_options: { prefix: string }) => logger,
|
||||
debug: isProduction ? noop : console.debug,
|
||||
// Always allow errors to log
|
||||
error: console.error,
|
||||
|
||||
Reference in New Issue
Block a user