Open dpc opened 8 years ago
It is possible to disable logging in compile time, so even the checks if log level is sufficient won't be compiled in. Both mio and mioco are using logging (trace, debug levels) a lot. For benchmarking/production it might be useful to investigate.
We could at least document well how to do it.
https://github.com/rust-lang-nursery/log/pull/58
https://github.com/rust-lang-nursery/log/blob/master/src/lib.rs#L885
It is possible to disable logging in compile time, so even the checks if log level is sufficient won't be compiled in. Both mio and mioco are using logging (trace, debug levels) a lot. For benchmarking/production it might be useful to investigate.
We could at least document well how to do it.