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.

Source Distribution

curv-logger-0.0.0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

curv_logger-0.0.0.1-py3-none-any.whl (3.5 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