Method: NewRelic::Agent::AgentHelpers::Startup#already_started?
- Defined in:
- lib/new_relic/agent/agent_helpers/startup.rb
permalink #already_started? ⇒ Boolean
Check whether we have already started, which is an error condition
15 16 17 18 19 20 |
# File 'lib/new_relic/agent/agent_helpers/startup.rb', line 15 def already_started? if started? ::NewRelic::Agent.logger.error('Agent Started Already!') true end end |