Please sign in to comment.
Fixed logging of mixes of strings and unicode
If the format and the message are not of the same type, try to make them uniform before trying again. If a string reaches the format_and_encode() method, assume it is in the right encoding and don't try to "encode" it (because str.encode() implies an ascii strict decoding, which will break at the first non-ascii char)
- Loading branch information...