From ebc7f985993a5cb45d031369c6075c8bd73b0618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E4=BF=8A=E8=B6=85?= Date: Tue, 18 Jun 2019 16:38:38 +0800 Subject: [PATCH 1/2] add to enableCallStack to Configuration Interface add to enableCallStack to Configuration Interface --- types/log4js.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index d6df357..53f9791 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -272,11 +272,12 @@ export interface Levels { export interface Configuration { appenders: { [name: string]: Appender; }; - categories: { [name: string]: { appenders: string[]; level: string; } }; + categories: { [name: string]: { appenders: string[]; level: string; enableCallStack?: boolean; } }; pm2?: boolean; pm2InstanceVar?: string; levels?: Levels; disableClustering?: boolean; + enableCallStack?: boolean; } export class Logger { From 09d7b32425038e92a4c402a3472c1065d6131b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E4=BF=8A=E8=B6=85?= Date: Wed, 19 Jun 2019 11:32:24 +0800 Subject: [PATCH 2/2] TS Interface: remove top level enableCallStack --- types/log4js.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index 53f9791..a3c56ac 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -277,7 +277,6 @@ export interface Configuration { pm2InstanceVar?: string; levels?: Levels; disableClustering?: boolean; - enableCallStack?: boolean; } export class Logger {