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.dev21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fd6c64ab6cb8b16bb0842e90c93a9c08ad9a049fffb0c10caad09b7e495fc6 |
|
MD5 | 5e4760c0cc7f3febd717a862efe3b285 |
|
BLAKE2b-256 | fb19d6b0a2ccabcb855439a571e400912b267906df825e1ef4bc42cc797ff4fb |