Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SonicBoom as a destination #256

Merged
merged 3 commits into from
Nov 3, 2021
Merged

Conversation

mcollina
Copy link
Member

@mcollina mcollina commented Nov 1, 2021

Adds a couple of missing options

@mcollina mcollina requested a review from jsumners November 1, 2021 23:09
Readme.md Outdated
@@ -207,6 +207,11 @@ The options accepted have keys corresponding to the options described in [CLI Ar
ignore: 'pid,hostname', // --ignore
hideObject: false, // --hideObject
singleLine: false, // --singleLine

dest: 1, // The file or file descriptor to write to
append: true, // Append to the destination
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if it is false? Will it overwrite the destination?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Readme.md Outdated

dest: 1, // The file or file descriptor to write to
append: true, // Append to the destination
mkdir: false, // Ensure the directory for dest exist when true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work recursively?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Readme.md Outdated
@@ -207,6 +207,11 @@ The options accepted have keys corresponding to the options described in [CLI Ar
ignore: 'pid,hostname', // --ignore
hideObject: false, // --hideObject
singleLine: false, // --singleLine

dest: 1, // The file or file descriptor to write to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does default destination of 1 mean?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the file descriptor of stdout.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@mcollina
Copy link
Member Author

mcollina commented Nov 3, 2021

I've updated it, let me know what you think

@mcollina mcollina changed the title Add mkdir and append option Support SonicBoom as a destination Nov 3, 2021
Copy link
Member

@jsumners jsumners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Co-authored-by: James Sumners <james@sumners.email>
@mcollina mcollina merged commit c3a1348 into master Nov 3, 2021
@Fdawgs Fdawgs deleted the add-append-mkdir-to-pino-pretty branch August 19, 2022 10:33
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.

None yet

3 participants