Sha256: 9934c9620ea42aa356df4c3edf5b00946408b8903f4cd353d4f9bdeac8cad045

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 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, local=false)

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

   logger  
 end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
le-1.8 ./lib/le.rb