add output record separator option (:ORS)
commitb32d1da1d760f2e193b293af6dde9da272a85e8d
authorEric Wong <normalperson@yhbt.net>
Fri, 4 Sep 2009 02:25:39 +0000 (3 19:25 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 4 Sep 2009 04:04:31 +0000 (3 21:04 -0700)
tree3bc5627bf6ddd4df796a6164ad510127f4b62dfc
parentaf12d387069d017494daa23534fa7f87aea9ff3b
add output record separator option (:ORS)

This allows overriding the default of "\n".  Behavior remains
similar to IO#puts, the :ORS (output record separator) is
appended iff the format doesn't already end with that string.
ext/clogger_ext/clogger.c
lib/clogger.rb
lib/clogger/pure.rb
test/test_clogger.rb