Class: LinkChecker::Logger

Inherits:
Logger
  • Object
show all
Defined in:
lib/ruby-link-checker/logger.rb

Class Method Summary collapse

Class Method Details

.defaultObject



6
7
8
9
10
11
12
# File 'lib/ruby-link-checker/logger.rb', line 6

def self.default
  return @default if @default

  logger = Logger.new(STDOUT)
  logger.level = Logger::WARN
  @default = logger
end