Open betweenbrain opened 7 years ago
Such a feature has indeed not been implemented. I don't think it necessarily belongs in node-graylog2
though. It may be better off staying in user-land, so that if you switch logging services, you would retain that configurability. Thoughts?
In looking at https://github.com/Wizcorp/node-graylog2/blob/master/graylog.js, I don't think this is implemented, but I wanted to confirm for sure that there isn't a built-in way to pass a configuration property to set the minimal level to log. The idea is that you can code all of the various logging events, and their respective levels, in your application, and then set what level(s) get sent off to Graylog in your configuration.