Class: Pullentity::Client::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/pullentity-client/logger.rb

Class Method Summary collapse

Class Method Details

.error(msg) ⇒ Object



9
10
11
# File 'lib/pullentity-client/logger.rb', line 9

def self.error(msg)
  $stderr.puts(msg.red.bold)
end

.report(msg) ⇒ Object



5
6
7
# File 'lib/pullentity-client/logger.rb', line 5

def self.report(msg)
  $stdout.puts(msg.green.bold)
end