Skip to main content

Logstamp console and file log.

Project description

logstamp

Another logger, made for data science and heavy-compute workloads. Logs to timestamped file too.

Usage

from logstamp import log
import time
log("doing big thing")
time.sleep(3)
log("did big thing, doing other thing")
time.sleep(5)
log("all done")

logs to file:

doing big thing ... is now 2022-12-19 18:05:22.769930 ... last interval 0:00:00.000089
did big thing, doing other thing ... is now 2022-12-19 18:05:25.773236 ... last interval 0:00:03.003306
all done ... is now 2022-12-19 18:05:30.778863 ... last interval 0:00:05.005627

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

logstamp-0.1.0.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

logstamp-0.1.0-py3-none-any.whl (1.6 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