Module: Backup::Logger::FogAdapter

Defined in:
lib/backup/logger/fog_adapter.rb

Class Method Summary collapse

Class Method Details

.tty?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/backup/logger/fog_adapter.rb', line 20

def tty?
  false
end

.write(message) ⇒ Object

Logged as :info so these won’t generate warnings. This is mostly to keep STDOUT clean and to provide supplemental messages for our own warnings. These will generally occur during retry attempts.



16
17
18
# File 'lib/backup/logger/fog_adapter.rb', line 16

def write(message)
  Logger.info message.chomp
end