JakeWharton/timber — pull request #16 by PeterAttardo (2014-02-11 22:20:10+00:00)
Title: If no varargs are supplied in DebugTree, treat it as a request to log th...

...e string without formatting

Occasionally we need to log long URLs, which may contain all manner of strange characters. The default implementation was at times tripping over these characters, thinking they were string formatting parameters, and would throw an exception. If no varargs are passed to a logging call, it should be safe to assume that the user wishes to log the string without change, and DebugTree should bypass String.format(); Otherwise there is no method for logging a simple string without passing it through String's formatter (aside from the delightfully hacky d("%s", string) ).