Module Backup::Logger
In: lib/backup/logger.rb

Methods

clear!   error   has_warnings?   message   messages   normal   silent   truncate!   warn  

Attributes

quiet  [RW] 

Public Class methods

Outputs an error to the console and writes it to the backup.log Called when an Exception has caused the backup process to abort.

Returns true if any warnings have been issued

Outputs a messages to the console and writes it to the backup.log

Returns an Array of all messages written to the log file for this session

Outputs the data as if it were a regular ‘puts’ command, but also logs it to the backup.log

Silently logs data to the log file

Outputs a notice to the console and writes it to the backup.log Sets has_warnings? true so :on_warning notifications will be sent

[Validate]