Skip to main content

No project description provided

Project description

curv-logger

Logger with timing added & some helpful usage added like with

Installing package

pip install curv-logger

Installing for local development

git clone https://github.com/rep-ai/curv-logger.git
cd curv-logger
pip install -r requirements.txt
pip install -e .

Basic Usage

from curv_logger import Logger
from time import sleep

logger = Logger(name="my-logger", level=Logger.level.WARNING)

with logger(sleep):
    sleep(0.01)
with logger("sleep for 0.1s"):
    sleep(0.1)
with logger("sleep for 1s"):
    sleep(1)

Updating package

bash deploy.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for curv-logger, version 0.0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size curv_logger-0.0.0.2-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size curv-logger-0.0.0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page