mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 07:34:08 -08:00
15 lines
264 B
TypeScript
15 lines
264 B
TypeScript
|
import { ILogger, LoggerProxy } from 'n8n-workflow';
|
||
|
|
||
|
const fakeLogger = {
|
||
|
log: () => {},
|
||
|
debug: () => {},
|
||
|
verbose: () => {},
|
||
|
info: () => {},
|
||
|
warn: () => {},
|
||
|
error: () => {},
|
||
|
} as ILogger;
|
||
|
|
||
|
export const initLogger = () => {
|
||
|
LoggerProxy.init(fakeLogger);
|
||
|
};
|