L
listrecv
Hi. I'm trying to use Ruby's built in logger to show messages with the
severity and timestamp, but I'm just getting the message string, (no
severity or timestamp).
Any suggestions?
(If possible, please cc all responses to me at listrecv at gmail,
thanks!)
=> #<Logger:0x5a04910 @progname=nil,
@logdev=#<Logger::LogDevice:0x5a048b0 @dev=
#<IO:0x48ce7e8>, @shift_size=nil, @shift_age=nil, @filename=nil>,
@level=0, @dat
etime_format=nil>Test
=> trueNoMethodError: undefined method `formatter=' for #<Logger:0x5a04910>
from (irb):138
from :0try again
=> true
severity and timestamp, but I'm just getting the message string, (no
severity or timestamp).
Any suggestions?
(If possible, please cc all responses to me at listrecv at gmail,
thanks!)
=> #<Logger:0x5a04910 @progname=nil,
@logdev=#<Logger::LogDevice:0x5a048b0 @dev=
#<IO:0x48ce7e8>, @shift_size=nil, @shift_age=nil, @filename=nil>,
@level=0, @dat
etime_format=nil>Test
=> trueNoMethodError: undefined method `formatter=' for #<Logger:0x5a04910>
from (irb):138
from :0try again
=> true