Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 398020d

Browse files
authored
Merge pull request #1402 from mkobayashime/docs-file-appender-remove-color
docs(file): add `removeColor` option of file appender
2 parents 9b9f2a1 + 25ee6f5 commit 398020d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/file.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The file appender writes log events to a file. It supports an optional maximum f
1010
`maxLogSize` can also accept `string` with the size suffixes: **_K_**, **_M_**, **_G_** such as `1K`, `1M`, `1G`.
1111
- `backups` - `integer` (optional, defaults to 5) - the number of old log files to keep during log rolling (excluding the hot file).
1212
- `layout` - (optional, defaults to basic layout) - see [layouts](layouts.md)
13+
- `removeColor` - `boolean` (optional, defaults to false) - remove embedded ANSI color sequence
1314

1415
Any other configuration parameters will be passed to the underlying [streamroller](https://github.com/nomiddlename/streamroller) implementation (see also node.js core file streams):
1516

0 commit comments

Comments
 (0)