Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure arg to logRaw and log are only eval'ed once.
Stu pointed this out in https://rbcommons.com/s/twitter/r/2315/ after I submitted the PR. The parameter `message` is passed by name, and so the argument might get evaluated in isFiltered() and in the logging function itself. Also got rid of a deprecation warning for `ConsoleLogger.stdout` Testing Done: Patched in locally. Bugs closed: 1655 Reviewed at https://rbcommons.com/s/twitter/r/2338/
- Loading branch information