This commit is contained in:
Andras Schmelczer 2022-08-07 19:37:45 +02:00
parent 807bf46a99
commit 83e111f088
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E

View file

@ -5,7 +5,7 @@ from ..context import get_context
from ..tracing import TracingContext from ..tracing import TracingContext
def log_metric(argument_name: str, value: Any, disable_logging: bool=False) -> None: def log_metric(argument_name: str, value: Any, disable_logging: bool = False) -> None:
"""Log a key (argument_name)-value pair that is persisted inside the trace. """Log a key (argument_name)-value pair that is persisted inside the trace.
The name of the function from where this is called is also stored. The name of the function from where this is called is also stored.