/// Submits a new counter or updates an existing counter from any thread.  Note that points are
/// internally queued and transmitted periodically in batches.
Submits a new counter or updates an existing counter from any thread.  Note that points are
internally queued and transmitted periodically in batches.
Submits a new counter or updates an existing counter from any thread . Note that points are internally queued and transmitted periodically in batches .
pub(crate) fn submit_counter(point: CounterPoint, level: log::Level, bucket: u64) {
    let agent_mutex = get_singleton_agent();
    let agent = agent_mutex.lock().unwrap();
    agent.submit_counter(point, level, bucket);
}
pub ( crate ) fn submit_counter ( point : CounterPoint , level : log :: Level , bucket : u64 ) { let agent_mutex = get_singleton_agent ( ) ; let agent = agent_mutex . lock ( ) . unwrap ( ) ; agent . submit_counter ( point , level , bucket ) ; }
Submits a new counter or updates an existing counter from any thread.
Submits a new counter or updates an existing counter from any thread .
point
CounterPoint
level
log::Level
bucket
u64