Sha256: 6489e151baa88f7933a8d15a8a64c2cab57995368e16f147d40b611c6edc469f
Contents?: true
Size: 590 Bytes
Versions: 11
Compression:
Stored size: 590 Bytes
Contents
module Le module Host def self.new(token, local, debug, ssl) Le::Host::HTTP.new(token, local, debug, ssl) end module InstanceMethods def formatter proc do |severity, datetime, _, msg| message = "#{datetime} " message << format_message(msg, severity) end end def format_message(message_in, severity) message_in = message_in.inspect unless message_in.is_a?(String) "severity=#{severity}, #{message_in.lstrip}" end end end end require File.join(File.dirname(__FILE__), 'host', 'http')
Version data entries
11 entries across 11 versions & 1 rubygems