File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 42
42
"date-format" : " ^1.1.0" ,
43
43
"debug" : " ^2.6.8" ,
44
44
"semver" : " ^5.3.0" ,
45
- "streamroller" : " ^0.5.2 "
45
+ "streamroller" : " ^0.6.0 "
46
46
},
47
47
"devDependencies" : {
48
48
"codecov" : " ^1.0.1" ,
Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ export interface FileAppender {
104
104
layout ?: Layout ;
105
105
numBackups ?: number ;
106
106
compress ?: boolean ; // compress the backups
107
+ // keep the file extension when rotating logs
108
+ keepFileExt ?: boolean ;
107
109
encoding ?: string ;
108
110
mode ?: number ;
109
111
flags ?: string ;
@@ -150,6 +152,8 @@ export interface DateFileAppender {
150
152
compress ?: boolean ;
151
153
// include the pattern in the name of the current log file as well as the backups.(default false)
152
154
alwaysIncludePattern ?: boolean ;
155
+ // keep the file extension when rotating logs
156
+ keepFileExt ?: boolean ;
153
157
// if this value is greater than zero, then files older than that many days will be deleted during log rolling.(default 0)
154
158
daysToKeep ?: number ;
155
159
}
@@ -421,6 +425,7 @@ export interface Logger {
421
425
422
426
isLevelEnabled ( level ?: string ) : boolean ;
423
427
428
+ isTraceEnabled ( ) : boolean ;
424
429
isDebugEnabled ( ) : boolean ;
425
430
isInfoEnabled ( ) : boolean ;
426
431
isWarnEnabled ( ) : boolean ;
You can’t perform that action at this time.
0 commit comments