vectordotdev / timber-ruby

🌲 Great Ruby logging made easy.
https://timber.io
Other
154 stars 19 forks source link

Allowing logging to multiple loggers #160

Closed binarylogic closed 7 years ago

binarylogic commented 7 years ago

Allows logging to multiple loggers. Ex:

http_device = Timber::LogDevices::HTTP.new("my-timber-api-key")
file_logger = ::Logger.new("path/to/file.log")
logger = Timber::Logger.new(http_device, file_logger)

Closes https://github.com/timberio/timber-ruby/issues/159