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
Close
Hashes for smartlogger-0.0.1.dev23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4b3af89e2c1fe2987f9fb5b3bebe8ec3b9d3f3199ba2576bb6389cd5aa1cd15 |
|
MD5 | 178f7f2410a72280ea69dbd2605810d8 |
|
BLAKE2b-256 | f24e822e327bb01a65a85c3ffc9e98011bb3f49cf09248414c4305b9e7696e86 |