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 details)

Uploaded Source

Built Distribution

logstamp-0.1.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file logstamp-0.1.0.tar.gz.

File metadata

  • Download URL: logstamp-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for logstamp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c224073cf45c41314206d72e1323e40d8f99e4084fa51258ec53e0df0eda5b23
MD5 a4d461030a6a4df8ae186190f012dcb4
BLAKE2b-256 f358f242e25ef916ee4e5a4a949a0ae0ce5f4ceea67ff62b6d15da004a79663c

See more details on using hashes here.

File details

Details for the file logstamp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: logstamp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for logstamp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c69c4db3c5b9b18e1141690ac237c9f6fd4dd8c84358ed7f7df730e69051aa7
MD5 61a479583e8fef121d36b3b645f02543
BLAKE2b-256 db075f9e1258a22ec1b6eb5923474efbc301c9953c587b6005b1150474d34c5b

See more details on using hashes here.

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