Sha256: acede1a6c533966fab614830f06ad4342b6a32f01bfc7e7f7f2b54b51b659550
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
#this is the client page module Le module Host # Creates a new Logentries host, based on a user-key and location of destination file on logentries, # both must be provided correctly for a connection to be made. def self.new(key, location) Le::Host::HTTPS.new(key, location) end module HelperMethods def formatter proc do |severity, datetime, progname, msg| message = "#{datetime} " message << format_message(msg, severity) end end def format_message(msg_in, severity) msg_out = "" msg_out << "severity=#{severity}, " msg_out << msg_in msg_out end end end end require File.join(File.dirname(__FILE__), 'host', 'https')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
le-1.4 | ./lib1.2backup/le/host.rb |