Class: Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/deadfinder/logger.rb

Class Method Summary collapse

Class Method Details

.found(text) ⇒ Object



18
19
20
# File 'lib/deadfinder/logger.rb', line 18

def self.found text
    puts "#{text}".colorize(:red)
end

.info(text) ⇒ Object



6
7
8
# File 'lib/deadfinder/logger.rb', line 6

def self.info text
    puts "".colorize(:blue) + "#{text}".colorize(:light_blue)
end

.sub_info(text) ⇒ Object



14
15
16
# File 'lib/deadfinder/logger.rb', line 14

def self.sub_info text
    puts "".colorize(:blue) + "#{text}".colorize(:light_blue)
end

.target(text) ⇒ Object



10
11
12
# File 'lib/deadfinder/logger.rb', line 10

def self.target text 
    puts "".colorize(:green) + "#{text}".colorize(:light_green)
end