Skip to content

Commit

Permalink
Add record_log_event to public api (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmstepanek committed Nov 7, 2022
1 parent cd7e150 commit d4ff1ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions newrelic/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
from newrelic.api.transaction import record_custom_event as __record_custom_event
from newrelic.api.transaction import record_custom_metric as __record_custom_metric
from newrelic.api.transaction import record_custom_metrics as __record_custom_metrics
from newrelic.api.transaction import record_log_event as __record_log_event
from newrelic.api.transaction import set_background_task as __set_background_task
from newrelic.api.transaction import set_transaction_name as __set_transaction_name
from newrelic.api.transaction import suppress_apdex_metric as __suppress_apdex_metric
Expand Down Expand Up @@ -242,6 +243,7 @@ def __asgi_application(*args, **kwargs):
record_custom_metric = __wrap_api_call(__record_custom_metric, "record_custom_metric")
record_custom_metrics = __wrap_api_call(__record_custom_metrics, "record_custom_metrics")
record_custom_event = __wrap_api_call(__record_custom_event, "record_custom_event")
record_log_event = __wrap_api_call(__record_log_event, "record_log_event")
accept_distributed_trace_payload = __wrap_api_call(
__accept_distributed_trace_payload, "accept_distributed_trace_payload"
)
Expand Down

0 comments on commit d4ff1ec

Please sign in to comment.