Sha256: 6548a20a54beb84ad26b70b0d22f522583e96715c4e973ad28e4178cebebb1b3
Contents?: true
Size: 404 Bytes
Versions: 28
Compression:
Stored size: 404 Bytes
Contents
require 'logger' # This log overlay module, provides access to the +log+ method. module RSpecSystem::Log # Return the default Logger object. # # @return [Logger] default logger object def log return @logger if @logger @logger = ::Logger.new(STDOUT) @logger.progname = 'rspec-system' @logger.formatter = Proc.new do |s, t, p, m| "#{s}: #{m}\n" end @logger end end
Version data entries
28 entries across 28 versions & 1 rubygems