Provides the Log class is a custom logger implementation using the loguru library. It provides a flexible and customizable logging solution for projects.
Project description
maxlog
Installation
pip install maxlog
Usage
# Create an instance of the Log class
_console = Console(record=True)
log = Log("TRACE", console=_console)
# Test log instance
log.trace("This is a trace message.")
log.debug("This is a debug message.")
log.info("This is an info message.")
log.success("This is a success message.")
log.warning("This is a warning message.")
log.error("This is an error message.")
log.critical("This is a critical message.")
log.console.save_svg("log.svg")
Output
Created by Max Ludden
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
maxlog-0.0.3.tar.gz
(8.1 kB
view details)
Built Distribution
File details
Details for the file maxlog-0.0.3.tar.gz
.
File metadata
- Download URL: maxlog-0.0.3.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.11.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7215e53f916b254add31a918c6fe437784076b2302e3592ed95ddf830deb2d |
|
MD5 | 48eb78743410d440e280d47a92f4ef47 |
|
BLAKE2b-256 | ddfaa002f76ac0b51718748c536f60eefe50cf334d1d7150b3bffdac7e6d93fd |
File details
Details for the file maxlog-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: maxlog-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.11.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e156406fcb64451107c79dcb8e8e210d3873a2cd69a2dab3c88f485de4da9c06 |
|
MD5 | 6ff877459caebb8f028b6926d95f7cf0 |
|
BLAKE2b-256 | 46480011d1fced5eff6337fb2ead72eedbf6c97aff048b2be5ea8df50160fb41 |