mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -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);
|
|
};
|