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.dev5.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for smartlogger-0.0.1.dev5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1573b598f493236c999820d5f4dc394dc24a53cbc1e78a08fa7e4b0f6785ead7 |
|
MD5 | 697c1a602ecd0e239b12f7cbc0ad4e03 |
|
BLAKE2b-256 | 5ca9024c89ecec3a699e8d467df275faa5db1897a4022b6a6dcc553c62a0ff28 |