python logging client for SmartDash
Project description
Use SmartLogger in your code
from smartlogger import SmartLogger
logger = SmartLogger("examplePipelineName", save_to_dir="OPTIONAL_SAVE_DIR, defaults to ./")
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
# stage.debug()/ info()/ exception (logs exc info)/ error
# depending on whether it succeeded or not
stage.success()
stage.failed()
# Process to continuously upload logs to dash
smartlogger --save_dir ./ --server_url "http://localhost:8080"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartlogger-0.0.1.dev24.tar.gz.
File metadata
- Download URL: smartlogger-0.0.1.dev24.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be0100e28fdc36f1b8b24b6f0732e68bfe6c5a39217422706f46357fbdc2d9f9
|
|
| MD5 |
751d82bb49e89b216f7cf26c77a972be
|
|
| BLAKE2b-256 |
e4d6ead8a12076300e3ccef2cd2ae1ec8e851b7e541def9a6d0a6fdd7554abe4
|
File details
Details for the file smartlogger-0.0.1.dev24-py3-none-any.whl.
File metadata
- Download URL: smartlogger-0.0.1.dev24-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f86f5ce06a372d835d59b40c75befb0a7bb9bbbd0e76b1a4eb1378ed06a7bf0d
|
|
| MD5 |
92219d17b029717fc81fcc040b1b34c4
|
|
| BLAKE2b-256 |
600f5667596388298566868af39bab4b28db4459b81e9016f8b5dc9bce449902
|