method
format
v2_1_10 -
Show latest stable
- Class:
WEBrick::BasicLog
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.