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:
commit
69e7b0aeaf
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue