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

Custom Levels #25

Open
yasmanets opened this issue Dec 12, 2024 · 4 comments · May be fixed by #27
Open

Custom Levels #25

yasmanets opened this issue Dec 12, 2024 · 4 comments · May be fixed by #27

Comments

@yasmanets
Copy link

yasmanets commented Dec 12, 2024

pino supports custom levels but, here, in pino-syslog is no way to introduce these custom levels.

@mcollina
Copy link
Member

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

@yasmanets
Copy link
Author

Yeah, for sure.

I'm working on it 👍

@jsumners
Copy link
Member

How would that work? This module maps known levels to RFC compliant syslog levels.

@yasmanets
Copy link
Author

I have implemented a function to create a relationship between the custom pine level and the well known syslog levels

Here is my Pull Request

@yasmanets yasmanets linked a pull request Jan 2, 2025 that will close this issue
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 a pull request may close this issue.

3 participants