-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support creating file with
open_file_nonblock
Updates the `OpenOptions` with `.create(true)` to support creating a file when if it doesn't exist. This also brings the functionality inline with the documentation which notes `Create and opens a File for writing to it.`. This improves usability simplifying setting up the logger. Signed-off-by: Jonathan Woollett-Light <[email protected]>
- Loading branch information
Jonathan Woollett-Light
committed
Aug 11, 2023
1 parent
1a2c6ad
commit 564f44b
Showing
3 changed files
with
1 addition
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters