/usr/lib/ruby/vendor_ruby/log4r/outputter/consoleoutputters.rb is in ruby-log4r 1.1.10-3.
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 | # :nodoc:
require "log4r/outputter/iooutputter"
module Log4r
# Same as IOOutputter(name, $stdout)
class StdoutOutputter < IOOutputter
def initialize(_name, hash={})
super(_name, $stdout, hash)
end
end
# Same as IOOutputter(name, $stderr)
class StderrOutputter < IOOutputter
def initialize(_name, hash={})
super(_name, $stderr, hash)
end
end
end
|