Method: Backup::Logger::Logfile::Options#log_path

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

#log_pathString

Path to directory where Backup’s logfile will be written.

This may be given as an absolute path, or a path relative to Backup’s --root-path (which defaults to ~/Backup).

This may also be set on the command line using --log-path. If set on the command line, any setting here will be ignored.

Parameters:

  • (String)

Returns:

  • (String)

    Default: ‘log’



36
37
38
# File 'lib/backup/logger/logfile.rb', line 36

def log_path
  @log_path
end