No project description provided
Project description
jlogr
A simple python logger written in Rust.
Logs in one format only: {timestamp} :: {log level} :: {message}
Example:
import info from jlogr
info("hello")
If you use the Logger class, you can save to a file.
import Logger from jlogr
logger = Logger("my_file.log")
logger.info("this will go to the file")
You might be taking a large amount of logs that you'd like to buffer.
import Logger from jlogr
logger = Logger("my_file.log")
for i in range(1000):
logger.push(f"this is log of index {i}", "info")
logger.dump()
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
jlogr-0.1.233.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jlogr-0.1.233.tar.gz.
File metadata
- Download URL: jlogr-0.1.233.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.2.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b74d1d59de8df81130abb5be8ffec1716c227a85477f005e47ea8137b906ec
|
|
| MD5 |
74f43adb2d7ad527f4b3cb507a648f0a
|
|
| BLAKE2b-256 |
bf2a0b96fed1ac0a0d8bf021e265b708158316ad772e44ab2dc04421ca5fbf99
|
File details
Details for the file jlogr-0.1.233-cp39-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: jlogr-0.1.233-cp39-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 324.8 kB
- Tags: CPython 3.9+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.2.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eec6579000de3754678a82a96d3740a1924661416c035c0978451dba8727ddc7
|
|
| MD5 |
26bf26cafbd03590d7228592008c684c
|
|
| BLAKE2b-256 |
48e3839dfc762981acd4136fa2ffeb4cd3ca56b75829af8983c7b2e5505b4034
|