Class: FPM::Cookery::Log::Output::Console
- Inherits:
-
Object
- Object
- FPM::Cookery::Log::Output::Console
- Defined in:
- lib/fpm/cookery/log/output/console.rb
Instance Method Summary collapse
- #debug(message) ⇒ Object
- #error(message) ⇒ Object
- #fatal(message) ⇒ Object
- #info(message) ⇒ Object
- #puts(message) ⇒ Object
- #warn(message) ⇒ Object
Instance Method Details
#debug(message) ⇒ Object
7 8 9 |
# File 'lib/fpm/cookery/log/output/console.rb', line 7 def debug() STDOUT.puts "DEBUG: #{message}" end |
#error(message) ⇒ Object
23 24 25 |
# File 'lib/fpm/cookery/log/output/console.rb', line 23 def error() STDERR.puts "ERROR: #{message}" end |
#fatal(message) ⇒ Object
27 28 29 |
# File 'lib/fpm/cookery/log/output/console.rb', line 27 def fatal() STDERR.puts "FATAL: #{message}" end |
#info(message) ⇒ Object
11 12 13 |
# File 'lib/fpm/cookery/log/output/console.rb', line 11 def info() STDOUT.puts "===> #{message}" end |
#puts(message) ⇒ Object
15 16 17 |
# File 'lib/fpm/cookery/log/output/console.rb', line 15 def puts() STDOUT.puts "#{message}" end |
#warn(message) ⇒ Object
19 20 21 |
# File 'lib/fpm/cookery/log/output/console.rb', line 19 def warn() STDERR.puts "WARNING: #{message}" end |