mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
chore(docs): updated fileSync.md and misc comments
This commit is contained in:
parent
0ad0133823
commit
d6b017e720
@ -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
2
types/log4js.d.ts
vendored
@ -178,7 +178,7 @@ export interface DateFileAppender {
|
||||
pattern?: string;
|
||||
// default “utf-8”
|
||||
encoding?: string;
|
||||
// default 0644
|
||||
// default 0600
|
||||
mode?: number;
|
||||
// default ‘a’
|
||||
flags?: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user