Sha256: 8d12683e6bc25027c5299b3ddb228cc3f37ceb0a4f68d089d38feb7245613253
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
module Watir class WatirLogger < Logger def initialize(filName, logsToKeep, maxLogSize) super(filName, logsToKeep, maxLogSize) self.level = Logger::DEBUG self.datetime_format = "%d-%b-%Y %H:%M:%S" self.debug("Watir starting") end end class DefaultLogger < Logger def initialize super(STDERR) self.level = Logger::WARN self.datetime_format = "%d-%b-%Y %H:%M:%S" self.info "Log started" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-1.6.5 | lib/watir/logger.rb |