diff --git a/smartdash/setup.py b/smartdash/setup.py index f60e966..397d500 100644 --- a/smartdash/setup.py +++ b/smartdash/setup.py @@ -18,7 +18,7 @@ EMAIL = "praneeth@bpraneeth.com" AUTHOR = "BEDAPUDI PRANEETH" REQUIRES_PYTHON = ">=3.6.0" -VERSION = "0.0.1.dev21" +VERSION = "0.0.1.dev22" # What packages are required for this module to be executed? REQUIRED = ["requests", "liteindex", "streamlit", "plotly", "gevent", "falcon", "gunicorn"] diff --git a/smartlog/README.md b/smartlog/README.md index 8905935..5c6021c 100644 --- a/smartlog/README.md +++ b/smartlog/README.md @@ -4,7 +4,7 @@ ```python from smartlogger import SmartLogger -logger = SmartLogger("examplePipelineName", save_to_dir="OPTIONAL_SAVE_DIR, defaults to ./") +logger = SmartLogger("examplePipelineName", dir="OPTIONAL_SAVE_DIR, defaults to ./", log_to_console=False (defaults to False)) stage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags) # code block you want to log and time, eg: model inference/ db call/ pre/post processing code @@ -12,6 +12,8 @@ stage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags) # depending on whether it succeeded or not stage.success() stage.failed() + +stage.key_value(string_key, any_value, name=None default None, tags=[] default []) ``` ```bash