Module: Elbas::Logger

Includes:
Capistrano::Doctor::OutputHelpers
Included in:
Retryable
Defined in:
lib/elbas/logger.rb

Instance Method Summary collapse

Instance Method Details

#info(message) ⇒ Object



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

def info(message)
  $stdout.puts [prefix, message, "\n"].join
end

#prefixObject



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

def prefix
  @prefix ||= color.colorize("[ELBAS] ", :cyan)
end