parent
c3c329f207
commit
334cc77d25
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ module DiasporaFederation
|
|||
def logger
|
||||
@logger ||= begin
|
||||
# use logging-gem if available
|
||||
return ::Logging::Logger[self] if Object.const_defined?("::Logging::Logger")
|
||||
return ::Logging::Logger[self] if defined?(::Logging::Logger)
|
||||
|
||||
# fallback logger
|
||||
@logger = Logger.new(STDOUT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue