We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37ef8f7 commit 27bf6d9Copy full SHA for 27bf6d9
examples/handlers/opentelemetry_loguru/app.py
@@ -27,9 +27,9 @@ def roll_dice():
27
player = request.args.get('player', default=None, type=str)
28
result = str(roll())
29
if player:
30
- loguru_logger.warning("Player is rolling the dice: num")
+ loguru_logger.warning(f"Player {player} is rolling the dice: {result}")
31
else:
32
- loguru_logger.warning("Anonymous player is rolling the dice: num")
+ loguru_logger.warning(f"Anonymous player is rolling the dice: {result}")
33
return result
34
35
0 commit comments