n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 344 B
TypeScript
import type { LogScope } from '@n8n/config';
import type { LOG_LEVELS } from './constants';
export type LogLevel = (typeof LOG_LEVELS)[number];
export type LogMetadata = {
[key: string]: unknown;
scopes?: LogScope[];
file?: string;
function?: string;
};
export type LogLocationMetadata = Pick<LogMetadata, 'file' | 'function'>;