mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 17:44:09 -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);
|
||
|
};
|