Methods

Class/Module Index [+]

Quicksearch

Backup::Logger::FogAdapter

Public Class Methods

tty?() click to toggle source
# File lib/backup/logger/fog_adapter.rb, line 20
def tty?
  false
end
write(message) click to toggle source

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.

# File lib/backup/logger/fog_adapter.rb, line 15
def write(message)
  Logger.info message.split("\n").
      map {|line| "[fog] #{ line }" }.join("\n")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.