Sha256: 61349ed65985914c41cbb0fb199949aa94939f905b0aa56b994a32b02d26a0ad
Contents?: true
Size: 581 Bytes
Versions: 128
Compression:
Stored size: 581 Bytes
Contents
module ConfigHelpers def project_fixture_path File.expand_path( File.join(File.dirname(__FILE__),'../project_fixture') ) end def project_fixture_log_file File.join(project_fixture_path, 'log/appsignal.log') end def project_fixture_config(env='production', initial_config={}, logger=Logger.new(project_fixture_log_file)) Appsignal::Config.new( project_fixture_path, env, initial_config, logger ) end def start_agent(env='production') Appsignal.config = project_fixture_config(env) Appsignal.start end end
Version data entries
128 entries across 128 versions & 1 rubygems