Skip to content

Commit 81c218f

Browse files
committed
update
Signed-off-by: Praneeth Bedapudi <[email protected]>
1 parent 0a0e37b commit 81c218f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

smartdash/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
AUTHOR = "BEDAPUDI PRANEETH"
2020
REQUIRES_PYTHON = ">=3.6.0"
21-
VERSION = "0.0.1.dev21"
21+
VERSION = "0.0.1.dev22"
2222

2323
# What packages are required for this module to be executed?
2424
REQUIRED = ["requests", "liteindex", "streamlit", "plotly", "gevent", "falcon", "gunicorn"]

smartlog/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
```python
55
from smartlogger import SmartLogger
66

7-
logger = SmartLogger("examplePipelineName", save_to_dir="OPTIONAL_SAVE_DIR, defaults to ./")
7+
logger = SmartLogger("examplePipelineName", dir="OPTIONAL_SAVE_DIR, defaults to ./", log_to_console=False (defaults to False))
88

99
stage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags)
1010
# code block you want to log and time, eg: model inference/ db call/ pre/post processing code
1111
# stage.debug()/ info()/ exception (logs exc info)/ error
1212
# depending on whether it succeeded or not
1313
stage.success()
1414
stage.failed()
15+
16+
stage.key_value(string_key, any_value, name=None default None, tags=[] default [])
1517
```
1618

1719
```bash

0 commit comments

Comments
 (0)