Skip to content
  • Nick Mathewson's avatar
    Extend trace messages for destroy/truncated reasons. · f7384054
    Nick Mathewson authored
    It makes sense to put the method for human-readable strings onto the
    type itself, so that we can format these whenever they occur.
    
    I'm choosing the "human_str" method name here, since caret-generated
    types already have a to_str.  I was thinking about using Display,
    but caret types already implement that.
    
    I've also moved the message from "warn!" to "debug!", since these
    aren't necessarily a problem condition.
    f7384054