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

More log level ? #4

Closed
Socolin opened this issue Mar 13, 2017 · 3 comments
Closed

More log level ? #4

Socolin opened this issue Mar 13, 2017 · 3 comments

Comments

@Socolin
Copy link

Socolin commented Mar 13, 2017

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": ["[^\\"]+"], ["'[^']+'"] ["`.*'"]
  }
}
@poucotm
Copy link
Owner

poucotm commented Mar 15, 2017 via email

@giaplv57
Copy link

Well we can make additional log levels as optional setting, right?
Say the error, warning, info levels are default, not require user to re-config; and user have the power to define a new log level via user setting.
Thanks,
Giap

@poucotm
Copy link
Owner

poucotm commented May 14, 2017 via email

@poucotm poucotm closed this as completed May 14, 2017
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

3 participants