method
format
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
format(arg)
private
Formats arg for the logger
-
If arg is an Exception, it will format the error message and
the back trace.
-
If arg responds to #to_str, it will return it.
-
Otherwise it will return arg.inspect.