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 NOTICE, ALERT and EMERG log level. #7

Merged
merged 1 commit into from
Nov 10, 2014
Merged

Conversation

xaqq
Copy link
Contributor

@xaqq xaqq commented Nov 10, 2014

Hello,

I am planning on writing a syslog sink. It would be great if we could have those 3 log level, so spdlog log level could be matched to syslog's.

See commit msg.

This commit introduces 3 new log level. Thoses are:
    + NOTICE, which is a bit worse that INFO, but still not a warn.
    + ALERT, for case worse that critical.
    + EMERG, application is unusable.

With those 3 log levels, spdlog now has all log level accepted by
the syslog() system call.
gabime added a commit that referenced this pull request Nov 10, 2014
Add NOTICE, ALERT and EMERG log level - so spdlog log levels could be matched to syslog's
@gabime gabime merged commit 3569a76 into gabime:master Nov 10, 2014
@sleger0507 sleger0507 mentioned this pull request Feb 11, 2016
bachittle pushed a commit to bachittle/spdlog that referenced this pull request Dec 22, 2022
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.

2 participants