Nice colorful log with TRAIN level too
Project description
trainlog
Nice colorful logging module, which also includes an extra level TRAIN for model train etc.
from trainerlog import get_logger
logger = get_logger(name="ebun", level="DEBUG")
logger.train("Training step complete")
logger.debug("this is just a debug message")
logger.info("This is supposed to be more important")
logger.warning("Somethings maybe not right")
logger.error("Something went wrong")
logger.critical("Something went very wrong")
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
trainerlog-0.4.0.tar.gz
(1.7 kB
view details)
Built Distribution
File details
Details for the file trainerlog-0.4.0.tar.gz
.
File metadata
- Download URL: trainerlog-0.4.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7df7b1e9de10a1c725e8e3984725395259c5b88109829baf97ece671ef408131 |
|
MD5 | 04a74594300b0c4fae0dfae1e2161f5c |
|
BLAKE2b-256 | 9000644a8426a2a5f6fa5718732666ed71e5c5037ed989eaae55af44abcd734b |
File details
Details for the file trainerlog-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: trainerlog-0.4.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d057098a1d4170f54def9e80fd0f1d45bccccd6135237be6a582c91b4b50c32 |
|
MD5 | 300279f475ac0e234330e1be5b156202 |
|
BLAKE2b-256 | 2d60b7474850d0c6d9737949268d74124189d68a00d6d9e6915d06aad2ade16a |