Method: Roby::Application#log_dir=

Defined in:
lib/roby/app.rb

#log_dir=(dir) ⇒ Object

Explicitely set the log directory

It is usually automatically created under #log_base_dir during #base_setup



1615
1616
1617
1618
1619
1620
1621
# File 'lib/roby/app.rb', line 1615

def log_dir=(dir)
    unless File.directory?(dir)
        raise ArgumentError, "log directory #{dir} does not exist"
    end

    @log_dir = dir
end