def log!(action)
      case action
      when :started
        Logger.info "Performing Backup for '#{label} (#{trigger})'!\n" \
            "[ backup #{VERSION} : #{RUBY_DESCRIPTION} ]"

      when :finished
        if exit_status > 1
          ex = exit_status == 2 ? Error : FatalError
          err = ex.wrap(exception, "Backup for #{label} (#{trigger}) Failed!")
          Logger.error err
          Logger.error "\nBacktrace:\n\s\s" + err.backtrace.join("\n\s\s") + "\n\n"

          Cleaner.warnings(self)
        else
          msg = "Backup for '#{label} (#{trigger})' "
          if exit_status == 1
            msg << "Completed Successfully (with Warnings) in #{duration}"
            Logger.warn msg
          else
            msg << "Completed Successfully in #{duration}"
            Logger.info msg
          end
        end
      end
    end
def log!(action)
      case action
      when :started
        Logger.info "Performing Backup for '#{label} (#{trigger})'!\n" \
            "[ backup #{VERSION} : #{RUBY_DESCRIPTION} ]"

      when :finished
        if exit_status > 1
          ex = exit_status == 2 ? Error : FatalError
          err = ex.wrap(exception, "Backup for #{label} (#{trigger}) Failed!")
          Logger.error err
          Logger.error "\nBacktrace:\n\s\s" + err.backtrace.join("\n\s\s") + "\n\n"

          Cleaner.warnings(self)
        else
          msg = "Backup for '#{label} (#{trigger})' "
          if exit_status == 1
            msg << "Completed Successfully (with Warnings) in #{duration}"
            Logger.warn msg
          else
            msg << "Completed Successfully in #{duration}"
            Logger.info msg
          end
        end
      end
    end
Logs messages when the model starts and finishes.

 #exception will be set here if #exit_status is > 1,
 since log(:finished) is called before the +after+ hook.