module NewRelic::Agent::LogPriority

Public Instance Methods

priority_for(txn) click to toggle source
# File lib/new_relic/agent/log_priority.rb, line 13
def priority_for(txn)
  return txn.priority if txn

  rand.round(NewRelic::PRIORITY_PRECISION)
end