Is there an equivalent of Log4J for Ruby, Log4Ruby?
Ruby comes with a built in logging library, but there's log4r.
A short example of the built in library:
#!/usr/bin/env ruby
require 'logger'
log = Logger.new('mylog.txt')
log.debug "Hello log"
Ruby comes with a built in logging library, but there's log4r.
A short example of the built in library:
#!/usr/bin/env ruby
require 'logger'
log = Logger.new('mylog.txt')
log.debug "Hello log"