1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2390 from revapost/master

Write logger output to stderr to conform to convention
This commit is contained in:
Wesley Beary 2014-01-16 10:39:21 -08:00
commit 69e7b0aeaf

View file

@ -2,11 +2,11 @@ module Fog
class Logger
@channels = {
:deprecation => ::STDOUT,
:warning => ::STDOUT
:deprecation => ::STDERR,
:warning => ::STDERR
}
@channels[:debug] = ::STDOUT if ENV['DEBUG']
@channels[:debug] = ::STDERR if ENV['DEBUG']
def self.[](channel)
@channels[channel]