Method: Roby::Application#log_current_dir

Defined in:
lib/roby/app.rb

#log_current_dirObject

The path to the current log directory

If #log_dir is set, it is used. Otherwise, the current log directory is inferred by the directory pointed to the ‘current’ symlink



1702
1703
1704
1705
1706
1707
1708
1709
# File 'lib/roby/app.rb', line 1702

def log_current_dir
    if @log_dir
        @log_dir
    else
        current_path = File.join(log_base_dir, "current")
        self.class.read_current_dir(current_path)
    end
end