chore(docs): updated fileSync.md and misc comments

This commit is contained in:
Lam Wei Li 2022-01-19 23:18:27 +08:00
parent 0ad0133823
commit d6b017e720
No known key found for this signature in database
GPG Key ID: 90F6ABECF080D7BF
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ The sync file appender writes log events to a file, the only difference to the n
Any other configuration parameters will be passed to the underlying node.js core stream implementation:
* `encoding` - `string` (default "utf-8")
* `mode`- `integer` (default 0600)
* `mode`- `integer` (default 0o600 - [node.js file modes](https://nodejs.org/dist/latest-v12.x/docs/api/fs.html#fs_file_modes))
* `flags` - `string` (default 'a')
## Example

2
types/log4js.d.ts vendored
View File

@ -178,7 +178,7 @@ export interface DateFileAppender {
pattern?: string;
// default “utf-8”
encoding?: string;
// default 0644
// default 0600
mode?: number;
// default a
flags?: string;