Skip to content

Commit 1690392

Browse files
committed
update README and ts for new auditHashType option
1 parent de041ba commit 1690392

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ The DailyRotateFile transport can rotate files by minute, hour, day, month, year
3333
* **extension**: File extension to be appended to the filename. (default: '')
3434
* **createSymlink**: Create a tailable symlink to the current active log file. (default: false)
3535
* **symlinkName**: The name of the tailable symlink. (default: 'current.log')
36+
* **auditHashType**: Use specified hashing algorithm for audit. (default: 'sha256')
3637

3738
## Usage
3839
``` js

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ declare namespace DailyRotateFile {
100100
watchLog?: boolean;
101101

102102
handleRejections?: boolean;
103+
104+
/**
105+
* Use specified hashing algorithm for audit. (default: 'sha256')
106+
*/
107+
auditHashType?: string;
103108
}
104109
}
105110

0 commit comments

Comments
 (0)