Sha256: f3c81b9fc5efac4a1c39c3582aade67d4c50252916c9ff800cf007f101ee61f9

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

#
# Logentries Ruby monitoring agent
# Copyright 2010,2011 Logentries, Jlizard
# Mark Lacomber <marklacomber@gmail.com>
#

require File.join(File.dirname(__FILE__), 'le', 'host')

require 'logger'

module Le

 def self.new(key, location)

   host = Le::Host.new(key, location)      
   logger = Logger.new(host)
   
   logger.formatter = host.formatter

   logger  
 end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
le-1.6 ./lib/le.rb
le-1.4.5 ./lib/le.rb
le-1.5 ./lib/le.rb