refactor(core): Move Logger to @n8n/backend-common (#15721)

This commit is contained in:
Iván Ovejero
2025-05-30 12:57:47 +02:00
committed by GitHub
parent f755af8d3e
commit c229e915ea
148 changed files with 228 additions and 184 deletions

View File

@@ -1,10 +1,6 @@
export * from './license-state';
export * from './types';
const { NODE_ENV } = process.env;
export const inTest = NODE_ENV === 'test';
export const inProduction = NODE_ENV === 'production';
export const inDevelopment = !NODE_ENV || NODE_ENV === 'development';
export { inDevelopment, inProduction, inTest } from './environment';
export { isObjectLiteral } from './utils/is-object-literal';
export { Logger } from './logging/logger';