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
Release history Release notifications | RSS feed
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.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for curv_logger-0.0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3970a46931ae920b41b2351cc1d86616af33342a08fb7e3ad806ad1088add559 |
|
MD5 | c2e69fff281d78d4b661ac45f8003145 |
|
BLAKE2b-256 | d7299b15ff2b5a54dc8d4be4ae368f3d8e880cdc58183f6053d02d169fac0682 |