Sha256: 53489c73ca9912c1d521a67b2e73d6ce1e9d967f954aab74c24c1d7035658cfa

Contents?: true

Size: 638 Bytes

Versions: 4

Compression:

Stored size: 638 Bytes

Contents

require 'rubygems'
require 'active_record'
require "#{File.dirname(__FILE__)}/appstats/code_injections"
require "#{File.dirname(__FILE__)}/appstats/entry"
require "#{File.dirname(__FILE__)}/appstats/context"
require "#{File.dirname(__FILE__)}/appstats/tasks"
require "#{File.dirname(__FILE__)}/appstats/logger"
require "#{File.dirname(__FILE__)}/appstats/log_collector"

# required in the appstats.gemspec
# require "#{File.dirname(__FILE__)}/appstats/version"

module Appstats

  def self.log(type,message)
    if $logger.nil?
      # puts "LOCAL LOG #{type}: #{message}"
    else
      $logger.send(type,message)  
    end
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
appstats-0.1.0 lib/appstats.rb
appstats-0.0.16 lib/appstats.rb
appstats-0.0.15 lib/appstats.rb
appstats-0.0.14 lib/appstats.rb