NexusLog
High-performance async logging library, compatible with Python standard logging API.
Benchmark
Benchmarking with 1,000,000 log messages
------------------------------------------------------------
Logger Time (s) Msgs/sec Log size
------------------------------------------------------------
loguru 8.150 122,696 89,888,890 bytes
Python logging 5.675 176,226 82,888,890 bytes
spdlog 0.260 3,850,774 79,888,890 bytes
NexusLogger unix_ts 0.116 8,608,575 85,888,890 bytes
NexusLogger 0.114 8,765,093 97,888,890 bytes
------------------------------------------------------------
NexusLogger is 49.74x faster than Python logging
NexusLogger is 71.44x faster than loguru
NexusLogger is 2.28x faster than spdlog
NexusLogger unix_ts is 48.85x faster than Python logging
NexusLogger unix_ts is 70.16x faster than loguru
NexusLogger unix_ts is 2.24x faster than spdlog
Installation
pip install nexuslog
Quick Start
import nexuslog as logging
logging.basicConfig(level=logging.INFO)
logging.info("Hello, world!")
logging.warning("This is a warning")
logging.error("This is an error")
API
Log Levels
logging.TRACE
logging.DEBUG
logging.INFO
logging.WARNING
logging.ERROR
Module-level Functions
logging.basicConfig(filename=None, level=logging.INFO, unix_ts=False)
logging.basicConfig(
level=logging.INFO,
name_levels={"db": logging.DEBUG, "http.client": logging.WARNING},
)
logging.trace(message)
logging.debug(message)
logging.info(message)
logging.warning(message)
logging.error(message)
Logger Class
from nexuslog import Logger, Level
logger = Logger("myapp", path="/var/log/app", level=Level.Info)
logger.info("message")
logger.shutdown()
getLogger
import nexuslog as logging
logging.basicConfig(filename="/var/log/app.log", level=logging.DEBUG)
logger = logging.getLogger("myapp")
logger.info("message")
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 nexuslog_lib-0.6.0.tar.gz.
File metadata
- Download URL: nexuslog_lib-0.6.0.tar.gz
- Upload date:
- Size: 150.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
263f21851b8d75fec55ce0efe756e3f392592fbf74b31994427bd51787d37c44
|
|
| MD5 |
635319f9ba755abbc236f98f061e31f6
|
|
| BLAKE2b-256 |
7ffb5b7aff10812ef58d4300ee1c688117e1c50233e04a46b56692ac9d129d3f
|
File details
Details for the file nexuslog_lib-0.6.0-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 199.3 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c92ccb5f37c27db5712ff2b76cac56598cd17c38e80a1a8905cd9dda381583b1
|
|
| MD5 |
daa4c27a14e8245bd1ce22b9e6e9fe62
|
|
| BLAKE2b-256 |
4c8b394978b82376e5d604c24276ed0ab5a9984ae2da2f33c19f870cddcf66f5
|
File details
Details for the file nexuslog_lib-0.6.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 333.3 kB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
443ff7b13b64955d7443515c5bd5069bffc47e88751771ba0955eaced9ce231d
|
|
| MD5 |
298908a0bb92c7f60a78b9ea25df47b3
|
|
| BLAKE2b-256 |
2811d6825948e876d8852561f1782de4caf501216242fe3f7969b066d3de80b2
|
File details
Details for the file nexuslog_lib-0.6.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 331.4 kB
- Tags: CPython 3.14, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1ba4ce9c986e1503786dcc1386381d019d4910dccb6ca30447c30e979cc984f
|
|
| MD5 |
dd8bd8fbbd60fc4724380b17b1396723
|
|
| BLAKE2b-256 |
8043cea0a9f7c7aa7a4a914366f7fbee7efa5675c95043101a91cb262cf35a8a
|
File details
Details for the file nexuslog_lib-0.6.0-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 301.4 kB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8f81a16834166a05b189459f99ffee90a319dbd4698ff4441956c9bb9690402
|
|
| MD5 |
1a07ad9b32405ab094c6a360e981b606
|
|
| BLAKE2b-256 |
bbe50b0921ee50e79d58af3c8c9bfdb6243abc99c59fdab55e241fe77508af71
|
File details
Details for the file nexuslog_lib-0.6.0-cp314-cp314-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp314-cp314-macosx_10_12_x86_64.whl
- Upload date:
- Size: 310.4 kB
- Tags: CPython 3.14, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b8e8837797437b9e460dd0c056894b9aec85e369314b0d8eacd6aa4b5b66677
|
|
| MD5 |
28afe3c38ac22ce91ec7e1830e8fcf1f
|
|
| BLAKE2b-256 |
329efe1e0908b937d946be71a87309ceff00b2857793f3432fa4a407442b4be4
|
File details
Details for the file nexuslog_lib-0.6.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 199.3 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70a105e071430f02455e3bf1ea4e6426f0850d42a61790e61b1449bc6bcc5a9d
|
|
| MD5 |
b0ee83d61a7a76dfc51fc1ff01bf6d2f
|
|
| BLAKE2b-256 |
66af53a985c460701414b20d50120ed8f7e87950eecd508e214592e116fa9e6d
|
File details
Details for the file nexuslog_lib-0.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 333.7 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35afbdb6804cb9ee61a4abb82d37934ab15c1593c6d19a742ab08ec679a368b6
|
|
| MD5 |
0bf600311dfb1055f9ed48815752899a
|
|
| BLAKE2b-256 |
07e46c1f6109876658f0bf082f4966b0de5b9a7e8629faf2e56897830dbc6d64
|
File details
Details for the file nexuslog_lib-0.6.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 331.5 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
962cf4abfb981193d3575099a0e66bf16fbd9e44fdf26f1eee9019a88773b033
|
|
| MD5 |
b47dbb30a194db3a70f1d49fb5e9cf93
|
|
| BLAKE2b-256 |
5f4474108c5d30771a0ee3fea5dd85fb4c8a56249f32e6c04fba9226877f6226
|
File details
Details for the file nexuslog_lib-0.6.0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 301.5 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0820199efe3377cc7484e782d289136c1b75464f2af386fdbeb8056f71ecbabf
|
|
| MD5 |
c9598797e4aed0c4a097c23de8914038
|
|
| BLAKE2b-256 |
01aed3f5789e640841486562fd1a58edf73945a86d3bfe16c14547fb25c0124d
|
File details
Details for the file nexuslog_lib-0.6.0-cp313-cp313-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 310.6 kB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
262083382cfb90ceefe5e0833afccb6e5e198f5dab412f9da036b1ded9a563d1
|
|
| MD5 |
21086a750461d6ce079d750cf255785c
|
|
| BLAKE2b-256 |
b78da60357ee7843d0a554dd302e656eb967d0f98cfbc0df3f8e56158fb6e9f4
|
File details
Details for the file nexuslog_lib-0.6.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 199.6 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc277b08ae69e840b9de6c266eaaf4439b535ccc6dd40505f8c27f0db7c3e74
|
|
| MD5 |
5fb36a2f9dec3804dfe1982b9b450205
|
|
| BLAKE2b-256 |
6bd6a320accfbbf9e386153d8c07b2beb979f84177a4e83d5214b9318cd36664
|
File details
Details for the file nexuslog_lib-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 334.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e57e106bc7e6ec3dd384eb3c03f4484472df395be662038e4f8cb10555373b5
|
|
| MD5 |
d20c887f407f3f78dee5d311729051f9
|
|
| BLAKE2b-256 |
9b60bec56f10014c900abb7947c153d5e89bcef3ae24d2958fb053b9c69f9da6
|
File details
Details for the file nexuslog_lib-0.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 331.8 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4a887d1be2709b23f86d5877339173ee0212eb2d8c9dfd94e7f1ec20caf6753
|
|
| MD5 |
2273d984df7f1332fdae681606934c71
|
|
| BLAKE2b-256 |
a4c4491c194cac12b1a97dd457a58dbd095b4d59464bf76d26076dfddae71539
|
File details
Details for the file nexuslog_lib-0.6.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 302.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba3dd5ecb654757da9aea0d95a59193d9741ff3e06e7fabab62678fbf5b5b933
|
|
| MD5 |
f7b7338432a622ec248267f45d4885c1
|
|
| BLAKE2b-256 |
b946f9aa09e09eb833113379a7aa85c5737ed33b193a077992aa5f8fac151ec1
|
File details
Details for the file nexuslog_lib-0.6.0-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 311.1 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab4e9e62252b3284d4134a9841d21d766ab0ca0c7b6001e94197072670b251ce
|
|
| MD5 |
205da094d9dbe2d2d4b7f3b92501c098
|
|
| BLAKE2b-256 |
bcd4ad2727f5bbef28b6c614be28e3a2864e0586c5b9d2bb9f78551ff0bfbc21
|
File details
Details for the file nexuslog_lib-0.6.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 201.1 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
290bf74865a82747d8b104af74d857bfc0df08b21ee65acd16531642c73a24aa
|
|
| MD5 |
8859f2db42a07bf4e352d375a07b9bbc
|
|
| BLAKE2b-256 |
ecc9989a7615a0aa07b6f1731cd89d4959117fb93cb50ea36fa20cc76989f03e
|
File details
Details for the file nexuslog_lib-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 334.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21ca9e5a176ca920e65459b8e4604f12616e1605fce0ca3b22f215ec1207f5de
|
|
| MD5 |
7a6b58f1757c5abb26bb2db276887861
|
|
| BLAKE2b-256 |
50c9ebdfefa6e1fe801d501ea4792d0563062610efe659e3c2093b3a884b6797
|
File details
Details for the file nexuslog_lib-0.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 331.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31e1e77029d6947a154227835a95b976d18ab3af9dc3d1feb2e7093569d15f1a
|
|
| MD5 |
03d6e6a8f3557f6b93ab37d354958c07
|
|
| BLAKE2b-256 |
31ddb26ce49e46c13502b47e19239f55b683e9e2bd6eee0649f0f15fb98ed2b6
|
File details
Details for the file nexuslog_lib-0.6.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 301.7 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a2603a821b0dd27ab3cd259d7a6aa3bfb001125df7fddf2effc707bca76ee89
|
|
| MD5 |
4373dd12863ef5f293b9ced7567673cc
|
|
| BLAKE2b-256 |
4afc2ed9e5a2cbe2f2bb53a14db0903ed1ec18426989d6f85ae1570aeac689ac
|
File details
Details for the file nexuslog_lib-0.6.0-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog_lib-0.6.0-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 311.1 kB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e82bdaecbf3a5186289e3a68c0b3a105aef68e0e40cab9035ee14eb084d44581
|
|
| MD5 |
2f0dd8dc2cffb749767ea2fd1b896524
|
|
| BLAKE2b-256 |
a2b1c2adcbdd50c1984f4b6b46b79e585cf215ccda8dfaf84479519fff498571
|