When using this gem I was surprised for example that formatter does nothing.
Wouldn't it be better if I could do something like this:
gelf_logger = GELF::Logger.new(graylog_host, graylog_port, 'LAN', defaults)
logger = ::Logger.new(gelf_logger)
Was there any reason not to do it this way?
When using this gem I was surprised for example that formatter does nothing.
Wouldn't it be better if I could do something like this:
gelf_logger = GELF::Logger.new(graylog_host, graylog_port, 'LAN', defaults)
logger = ::Logger.new(gelf_logger)
Was there any reason not to do it this way?