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

Add the ability to optionally trim messages #206

Open
yaronya opened this issue Dec 25, 2022 · 0 comments
Open

Add the ability to optionally trim messages #206

yaronya opened this issue Dec 25, 2022 · 0 comments

Comments

@yaronya
Copy link

yaronya commented Dec 25, 2022

We're using the logger to send outputs of bash commands, and sometimes those commands emit empty messages that doesn't fall under this rule (i.e, they still contain newlines, tabs and etc.) so we need to trim the message before this check.

I think it'd be great to have support for an option to have the log messages trimmed before they're evaluated and sent.
Is this something you'll be willing to add? I'd be glad to open a quick pull request for it 😃

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

No branches or pull requests

1 participant