Skip to content

Commit

Permalink
Merge pull request #1148 from log4js-node/update-docs
Browse files Browse the repository at this point in the history
chore(docs): updated fileSync.md and misc comments
  • Loading branch information
lamweili committed Jan 19, 2022
2 parents 0ad0133 + d6b017e commit 436d9b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/fileSync.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion types/log4js.d.ts
Expand Up @@ -178,7 +178,7 @@ export interface DateFileAppender {
pattern?: string;
// default “utf-8”
encoding?: string;
// default 0644
// default 0600
mode?: number;
// default ‘a’
flags?: string;
Expand Down

0 comments on commit 436d9b4

Please sign in to comment.