Sha256: 5614231802187ef79b3d525597dd715d98260b9dbab74c50ace772ccace70150
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
module Le module Host def self.new(token, local, debug) Le::Host::HTTP.new(token, local, debug) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
le-2.1.9 | ./lib/le/host.rb |
le-2.1.8 | ./lib/le/host.rb |
le-2.1.7 | ./lib/le/host.rb |