Module: Gordon::Cookery::Log

Included in:
RubyStandaloneApp, RubyWebApp
Defined in:
lib/gordon/cookery/log.rb

Instance Method Summary collapse

Instance Method Details

#create_log_folder(env_vars) ⇒ Object



4
5
6
7
8
# File 'lib/gordon/cookery/log.rb', line 4

def create_log_folder(env_vars)
  log_path = "/var/log/#{env_vars.app_name}"

  root(log_path).mkdir
end