mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 13:39:44 -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);
|
||
|
};
|