[naily] Now Astute share logger with Naily.
This commit is contained in:
parent
192663eeac
commit
a847957021
@ -11,11 +11,16 @@ module Naily
|
||||
autoload 'Dispatcher', 'naily/dispatcher'
|
||||
autoload 'Reporter', 'naily/reporter'
|
||||
|
||||
@logger ||= Logger.new(STDOUT)
|
||||
Astute.logger = @logger
|
||||
|
||||
def self.logger
|
||||
@logger ||= Logger.new(STDOUT)
|
||||
@logger
|
||||
end
|
||||
|
||||
def self.logger=(logger)
|
||||
Astute.logger = logger
|
||||
@logger = logger
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user