python logging client for SmartDash
Project description
from smartlogger import SmartTimer
timer = SmartTimer(NAME, save_to_dir="./")
timer.start(unique_id)
timer.stage_success(unique_id, name="pre_processing")
timer.stage_failed(unique_id, name="feature_extraction")
timer.stage_success(unique_id, name="feature_extraction")
timer.finished(unique_id)
from smartlogger import SmartLogger
logger = SmartLogger(NAME, save_to_dir="./")
logger.debug(u_id, "message_1", 6, {}, [], ...)
logger.info(u_id, ....)
logger.warning(u_id, ...)
logger.exception(u_id, ....)
logger.ml_inputs_outputs(u_id, INPUTS, OUTPUTS, MODEL_TYPE="")
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
smartlogger-0.0.1.dev4.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for smartlogger-0.0.1.dev4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c06e67bc73226de9f985be4b11c0e65a090fec37b75c01aee2dd21e9cd9630e |
|
MD5 | 45259a4aab15ba84879707621c14007a |
|
BLAKE2b-256 | 2da4befea6ef4dad83a9b863408c129d18a625c5af26fef0a9ea45d275dd837f |