cinchrb / cinch

The IRC Bot Building Framework
http://www.rubydoc.info/gems/cinch
MIT License
1k stars 180 forks source link

Allow logging arbitrary objects #77

Closed dominikh closed 11 years ago

dominikh commented 12 years ago

Loggers should call #inspect of any object that is not a string.

dominikh commented 11 years ago

Decided not to do this after all. Logging arrays already has special semantics (atomically logging all entries in the array), so if users want to inspect objects, they should do so explicitly.