-
Notifications
You must be signed in to change notification settings - Fork 19
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
More log level ? #4
Comments
Hi,
That's great idea to extend log level and it is more systematic. Currently
log level is limited as error, warning, info. Because I didn't need many
levels. If I change the codes and settings, other people also have to
change their customized settings. I will refer to your good idea next time.
Thank you.
Best Regards,
Kris
2017. 3. 14. 오전 8:17에 "Socolin" <notifications@github.com>님이 작성:
… Hi,
This plugin seems great but I can't find how to add other level to color
notice/debug/alert/emergency logs (whose are unix syslog levels)
Is there any way to do this ?
Maybe it could be nice to have a map to define levels instead of
error_enable and error_pattern... and be able to define color at the same
location
{
"error": {
"enable": true,
"pattern": [ ... ],
"color" : {
"base": "#FF0000"
"link": "#FF0000"
"quote": "#0000FF"
},
"quote_pattern": ["[^\\"]+"], ["'[^']+'"] ["`.*'"]
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASUglSuAP1GPcuTS441L64fpUVkrwFcrks5rlc6WgaJpZM4Mb7-U>
.
|
Well we can make additional log levels as optional setting, right? |
Hi, Socolin
I've changed `log highlight` as you said. Just check version v1.0.0.
Thank you for interest.
Best Regards,
Kris
2017-03-14 8:17 GMT+09:00 Socolin <notifications@github.com>:
… Hi,
This plugin seems great but I can't find how to add other level to color
notice/debug/alert/emergency logs (whose are unix syslog levels)
Is there any way to do this ?
Maybe it could be nice to have a map to define levels instead of
error_enable and error_pattern... and be able to define color at the same
location
{
"error": {
"enable": true,
"pattern": [ ... ],
"color" : {
"base": "#FF0000"
"link": "#FF0000"
"quote": "#0000FF"
},
"quote_pattern": ["[^\\"]+"], ["'[^']+'"] ["`.*'"]
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASUglSuAP1GPcuTS441L64fpUVkrwFcrks5rlc6WgaJpZM4Mb7-U>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
This plugin seems great but I can't find how to add other level to color notice/debug/alert/emergency logs (whose are unix syslog levels)
Is there any way to do this ?
Maybe it could be nice to have a map to define levels instead of error_enable and error_pattern... and be able to define color at the same location
The text was updated successfully, but these errors were encountered: