Closed alexcrichton closed 7 years ago
We should also clarify the error conditions here to mention there's no memory unsafety, but also clearly state what the error conditions are.
@alexcrichton I already wrote (helped by rustaceans!) an example of use of set_logger
for the cookbook here: https://brson.github.io/rust-cookbook/logging.html#log-messages-with-a-custom-logger
Do you think we have to write a new different one? Or "copy/pasting" this one is OK? Maybe we should make a shorter example, but I don't know what to remove.
@rap2hpoutre nah copy/pasting sounds great! No need to create more work when it's already done :)
@alexcrichton Ok done for the example part! see: https://github.com/rust-lang-nursery/log/pull/186
Awesome! In that case closing.
@alexcrichton hi I would reopen as set_logger doc still misses links and errors section