set_logger doc improvements #135
Labels
No labels
bug
duplicate
easy
enhancement
help wanted
invalid
question
rfc
structured-logging
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-rust-lang/log#135
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_loggerfor the cookbook here: https://brson.github.io/rust-cookbook/logging.html#log-messages-with-a-custom-loggerDo 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