Class: Concrete::Util::Logger

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

Instance Method Summary collapse

Instance Method Details

#error(msg) ⇒ Object



15
16
17
# File 'lib/concrete/util/logger.rb', line 15

def error(msg)
  puts "ERROR: #{msg}"
end

#info(msg) ⇒ Object



7
8
9
# File 'lib/concrete/util/logger.rb', line 7

def info(msg)
  puts "INFO: #{msg}"
end

#warn(msg) ⇒ Object



11
12
13
# File 'lib/concrete/util/logger.rb', line 11

def warn(msg)
  puts "WARN: #{msg}"
end