Open h4x3rotab opened 3 years ago
Does it follow the
env_logger
's standard described here?
Yes, it does. And I agree it would be good to mention the docs you link to. Do you mind opening a PR for that? :)
Related question, it mentions
Is there any documentation or variable defining all the possible targets? Thanks!!
No there is no documentation on all the possible levels. I would also not recommend to copy this over to gossamer. Just come up with your own logging targets. In rust logging targets are for example the crate names if there is no explicit target given.
The format of the
--log
argument is unclear now. It only says:However the format can be very flexible. E.g. it supports setting log levels for multiple component:
info,lsync=debug
. Does it follow theenv_logger
's standard described here?If so, I think it's necessary to make it explicitly described in the command line flag docs.