module Ethon::Loggable

def logger

Returns:
  • (Logger) - The logger.

Other tags:
    Example: Get the logger. -

Other tags:
    Note: - Will try to grab Rails' logger first before creating a new logger
def logger
  return @logger if defined?(@logger)
  @logger = rails_logger || default_logger
end