mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Tweak logger interface to be more descriptive
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
3 files changed
+6
-9
No files matched your search
@@ -90,8 +90,7 @@ export const getDiForUnitTesting = (
|
||||
di.override(loggerInjectable, () => ({
|
||||
warn: noop,
|
||||
debug: noop,
|
||||
log: noop,
|
||||
error: (...args: any) => console.error(...args),
|
||||
error: (message: string, ...args: any) => console.error(message, ...args),
|
||||
info: noop,
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user