Module: Gruf::Loggable

Overview

Mixin that allows any Gruf class to have easy access to the Gruf logger

Instance Method Summary collapse

Instance Method Details

#loggerLogger

Returns The set logger for Gruf.

Returns:

  • (Logger)

    The set logger for Gruf



26
27
28
# File 'lib/gruf/loggable.rb', line 26

def logger
  Gruf.logger
end