lib/trubl.rb
def logger(level=Logger::WARN)
      unless @logger
        @logger = Logger.new(STDOUT)
        @logger.level = level
      end
      @logger
    end
# Returns a Trubl::Client instance
#
# @param [String] client_id
# @param [String] client_secret
# @param [String] access_token
# @return [Trubl::Client]
Returns a Trubl::Client instance
Returns a Trubl :: Client instance
def logger(level=Logger::WARN)
      unless @logger
        @logger = Logger.new(STDOUT)
        @logger.level = level
      end
      @logger
    end
def logger ( level = Logger :: WARN ) unless @logger @logger = Logger . new ( STDOUT ) @logger . level = level end @logger end
Returns a Trubl::Client instance
Returns a Trubl :: Client instance
None
Trubl::Client
level
None