Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about logging macros to the tutorial. #5703

Merged
merged 3 commits into from
Apr 4, 2013

Conversation

steveklabnik
Copy link
Member

Closes #5699.

error!("This is an error log")
warn!("This is a warn log")
info!("this is an info log")
debug!("This is a dubug log")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/dubug/debug/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol. Wow, I suck. Fixing.

@steveklabnik
Copy link
Member Author

Fixed.

bors added a commit that referenced this pull request Apr 4, 2013
@bors bors closed this Apr 4, 2013
@bors bors merged commit a7f0bfb into rust-lang:incoming Apr 4, 2013
@steveklabnik steveklabnik deleted the add_log_docs branch October 25, 2017 18:24
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 17, 2020
…1995

Removing RHS snippet from SHADOW_UNRELATED message.

Fixes rust-lang#5703

I am not sure if I reinvented the wheel here, but I could not really find a snippet function that did this truncation, so I created the function. Please tell me if there was a more obvious way to do this, I am new here. 😄

changelog: Truncates multi-line RHS in shadow_unrelated message if it has more than 5 lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants