Skip to content

Commit

Permalink
bug: fixed logger global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
devmaxde committed Oct 29, 2024
1 parent 1868d62 commit c214807
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/metricq_synchronous_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
logger = get_logger()


logger = get_logger()


@metricq_command(default_token="source-py-dummy")
def synchronous_source(server: str, token: str) -> None:
ssource = SynchronousSource(token=token, url=server)
Expand Down

0 comments on commit c214807

Please sign in to comment.