Sha256: 990c14f741c5d7787d68f3ffafb9708defde8d83ec1521560352dd6f9c905e43

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

#          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'ramaze/log/logging'
require 'ramaze/log/hub'
require 'ramaze/log/informer'

begin
  require 'win32console' if RUBY_PLATFORM =~ /win32/i
rescue LoadError => ex
  puts ex
  puts "For nice colors on windows, please `gem install win32console`"
  Ramaze::Informer.trait[:colorize] = false
end

module Ramaze
  autoload :Analogger, "ramaze/log/analogger.rb"
  autoload :Knotify,   "ramaze/log/knotify.rb"
  autoload :Syslog,    "ramaze/log/syslog.rb"
  autoload :Growl,     "ramaze/log/growl.rb"
  autoload :Xosd,      "ramaze/log/xosd.rb"
  autoload :Logger,    "ramaze/log/logger.rb"
  autoload :Inform,    "ramaze/inform"

  unless defined?(Log)
    Log = LogHub.new(Informer)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-0.3.9 lib/ramaze/log.rb
ramaze-0.3.9.1 lib/ramaze/log.rb