8000 fix(types): bumped streamroller version, fixed types · xyz-data/log4js-node@9a9cd5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a9cd5f

Browse files
author
Gareth Jones
committed
fix(types): bumped streamroller version, fixed types
1 parent edd07f2 commit 9a9cd5f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"date-format": "^1.1.0",
4343
"debug": "^2.6.8",
4444
"semver": "^5.3.0",
45-
"streamroller": "^0.5.2"
45+
"streamroller": "^0.6.0"
4646
},
4747
"devDependencies": {
4848
"codecov": "^1.0.1",

types/log4js.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ export interface FileAppender {
104104
layout?: Layout;
105105
numBackups?: number;
106106
compress?: boolean; // compress the backups
107+
// keep the file extension when rotating logs
108+
keepFileExt?: boolean;
107109
encoding?: string;
108110
mode?: number;
109111
flags?: string;
@@ -150,6 +152,8 @@ export interface DateFileAppender {
150152
compress?: boolean;
151153
// include the pattern in the name of the current log file as well as the backups.(default false)
152154
alwaysIncludePattern?: boolean;
155+
// keep the file extension when rotating logs
156+
keepFileExt?: boolean;
153157
// if this value is greater than zero, then files older than that many days will be deleted during log rolling.(default 0)
154158
daysToKeep?: number;
155159
}
@@ -421,6 +425,7 @@ export interface Logger {
421425

422426
isLevelEnabled(level?: string): boolean;
423427

428+
isTraceEnabled(): boolean;
424429
isDebugEnabled(): boolean;
425430
isInfoEnabled(): boolean;
426431
isWarnEnabled(): boolean;

0 commit comments

Comments
 (0)
0