From 1b996715f3b5508cd7671f42849ea33f48b45e21 Mon Sep 17 00:00:00 2001 From: Lucas Puerari Date: Tue, 30 Jan 2024 17:14:40 +0100 Subject: [PATCH] Update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 351043a..1c9c5c4 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ These examples show how to use the MiaPlatformClient lib. Usage example in a generic function: ```python -from src.utils.logger import logger +from src.utils.logger import get_logger def dummy(): # Define headers for authentication @@ -81,6 +81,8 @@ def dummy(): 'key': 'value' } + logger = get_logger() + # Create a MiaPlatformClient instance with the defined headers and imported logger mia_platform_client = MiaPlatformClient(headers, logger) ```