Skip to content

Conversation

@elis
Copy link

@elis elis commented Mar 23, 2022

I wanted the logger to overwrite the log file every time it instantiated but the implementation wouldn't allow for custom flags passed to the FileLogger createWriteStream invocation, so I've added the possibility to pass in custom flags, and fallback to the default 'a' flag.

elis added 2 commits March 23, 2022 11:32
Added the option to pass `options.flags` to `createWriteStream` (I want the log to be over-written every time the logger instantiates).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant