/usr/lib/ruby/1.9.1/innate/log.rb is in libinnate-ruby1.9.1 2010.07-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | require 'innate/log/hub'
require 'innate/log/color_formatter'
module Innate
logdev = $stderr
logger = Logger.new(logdev)
if Logger::ColorFormatter.color?(logdev)
begin
require 'win32console' if RUBY_PLATFORM =~ /win32/i
logger.formatter = Logger::ColorFormatter.new
rescue LoadError
logger.debug "For colors on windows, please `gem install win32console`"
end
end
Log = LogHub.new(logger)
end
|