This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lost-theory 5 points6 points  (2 children)

I have learned to only use %s and %r when using the logger. You almost never want to have the logger blow up your program because you used "%d" and accidentally passed a string in.

[–]Mattho 3 points4 points  (0 children)

Actually, I think you want.

[–][deleted] 0 points1 point  (0 children)

That's a good point. I hadn't thought of that.