Module: Gruf::Loggable
- Included in:
- Authentication::Base, Client, Error, Hooks::Base, Instrumentation::Base, Server
- Defined in:
- lib/gruf/loggable.rb
Overview
Mixin that allows any Gruf class to have easy access to the Gruf logger
Instance Method Summary collapse
-
#logger ⇒ Logger
The set logger for Gruf.
Instance Method Details
#logger ⇒ Logger
Returns The set logger for Gruf.
25 26 27 |
# File 'lib/gruf/loggable.rb', line 25 def logger Gruf.logger end |