Skip to main content

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


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)

Uploaded Source

Built Distribution

smartlogger-0.0.1.dev4-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page