Fast async logger with Python bindings
Project description
NexusLog
High-performance async logging library, compatible with Python standard logging API.
Benchmark
------------------------------------------------------------
Logger Time (s) Msgs/sec Log size
------------------------------------------------------------
Python logging 5.379 185,908 81,888,890 bytes
picologging 2.024 494,168 78,888,882 bytes
NexusLogger 0.193 5,192,770 93,317,288 bytes
------------------------------------------------------------
NexusLogger is 27.93x faster than Python logging
NexusLogger is 10.51x faster than picologging
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.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
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
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-0.4.0.tar.gz.
File metadata
- Download URL: nexuslog-0.4.0.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a68801e2f09039d7f23bc48ad7b69a926d51ff32c9895c39b731e546b64341
|
|
| MD5 |
9281a01fa82b4a86ab656ca168a9cfe6
|
|
| BLAKE2b-256 |
d50cae76181b677107366c27120a24c5a35fd4016f5fb02be2f61099932b6438
|
File details
Details for the file nexuslog-0.4.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 213.8 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35cf1e61ad7899a37419ea64f95eedf6d5406659f3f7ed829c2325ad736ff56e
|
|
| MD5 |
d52555a2dafff88b3b03f3f6d3f3c7a5
|
|
| BLAKE2b-256 |
26a04e9abe25bfbfd652458cb447ed9fcea03b0e990b199d5e1659372699b72e
|
File details
Details for the file nexuslog-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 396.3 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.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
531ac064cd04b9da93f9eee6d97f0a31e62278430174ae22b4d139566def4571
|
|
| MD5 |
9e4e34c8004067728909cea072170990
|
|
| BLAKE2b-256 |
bb8f10f21d9bd0cf6097d5765a4594363563644211f6fdf66f09c1266e0c7bef
|
File details
Details for the file nexuslog-0.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 395.3 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
452ce3b5a23a514741fcbad0aa84b6171a39d98a29f604953ad04a0c6142e038
|
|
| MD5 |
1de045a3fe303bf89089ac23ff232352
|
|
| BLAKE2b-256 |
9bfa2a16274dd95f028a5dc87a21839fea5e218c799ee283ba827d28b4c5951e
|
File details
Details for the file nexuslog-0.4.0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 350.0 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
766c73d8e00808eecac61630ea22b6974decbeb23e1dfdfca76a2bf24d096dc0
|
|
| MD5 |
ca7d430549ba10c9548710488a8396d9
|
|
| BLAKE2b-256 |
42f2693f675242c6b89d5e2a2b7b18a751dbbd2ace7c42e31cbac6a3184aa1dd
|
File details
Details for the file nexuslog-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 355.4 kB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ab4d07c6f2e6fe1b0fbd3673cf5034dd9d135881d5c92addba4ab8addc91f88
|
|
| MD5 |
51aec5a4d9db0aa7e05a687b4bb7e7f1
|
|
| BLAKE2b-256 |
ddb99088034d5b7a7d446548e5a8f4bfe9c07952303eef2e4f7f7fb514390da8
|
File details
Details for the file nexuslog-0.4.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 214.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09801f3eca25d8bbbc772a9afe23381f4d69cc3ab806580da584ca2ed93070ab
|
|
| MD5 |
38e886c788fc2f03b4c46516d746b51a
|
|
| BLAKE2b-256 |
f7ba711ab421728b2462e4aea06e421786b7437748f4f1190c4ab948b2502dbb
|
File details
Details for the file nexuslog-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 396.7 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.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4ca0a4912d6724c6e5ea1041c9e380d0e1eeed6ac4e2b3b9b1258611feebc88
|
|
| MD5 |
2b3b6fd707024c6ae3db7aa382c54499
|
|
| BLAKE2b-256 |
c7b74b4211f4193535f267dfa56cf2f7c00b51c1b9be2581c543c6c9222ee278
|
File details
Details for the file nexuslog-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 395.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6adfd02505313e0caaf257d9b9bc6401c98878803c589f136f742e6bea4891bd
|
|
| MD5 |
dbb85c03067ab8e6dbceb63b63291656
|
|
| BLAKE2b-256 |
4d2f34b59983f81051a705cc00de3b80ae4636bbc1cc9cf8f2f4eab48090049c
|
File details
Details for the file nexuslog-0.4.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 350.7 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c98fc74a9f69ab796653a01ab68adb808573ab23466568a045a905a2a2d112b
|
|
| MD5 |
219f24eb694162a7455f217a9cde1e9a
|
|
| BLAKE2b-256 |
2b7e749cb240ef94d39bd1ad319f8b6e7b0b5ecb392d1324fbccf72c538051cb
|
File details
Details for the file nexuslog-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 355.5 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a0b78bc27093bf1a67e1b7a5f3d2eedb066b9f5e4d5c1e53660ceb33be3159c
|
|
| MD5 |
0690bfd758b5f4288dd8d244df81c6fe
|
|
| BLAKE2b-256 |
fc480431dda71e82558cb7a8b1266c39a48e6c448c2ef0bab1a6dda3f264f83d
|
File details
Details for the file nexuslog-0.4.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 215.7 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9dab351c9f4d049e78238089649a56ff8140d5323ac9b3c4e2c572d629f8f4e
|
|
| MD5 |
a92ae31e706793a53ad42e9446af12f5
|
|
| BLAKE2b-256 |
cd4ae148d69f8820ad4c8c1cd46f4aa7fc9aab76591033d6589637b5a4dd3c41
|
File details
Details for the file nexuslog-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 399.5 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.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11166177c192db0c82e5b59c1e5993f853fc2d3d11cdbc5e9e8a0b89aad6b052
|
|
| MD5 |
58cd02d4d0df98e22aaad3403518ae9a
|
|
| BLAKE2b-256 |
f15a436de62deac2401c202ad6563d90b04d4d141858279466da0acd441da007
|
File details
Details for the file nexuslog-0.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 398.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aa7ef6f8a17821f74a43b8dd5875f403c5a08ca8a1feb3bcdd123e3d3acfcc9
|
|
| MD5 |
df79228d24247cb2061f5ac6d38bb9ab
|
|
| BLAKE2b-256 |
0c198c6d6255723fb7e464264635058b330c7c74094dc2273b9d1315b5294197
|
File details
Details for the file nexuslog-0.4.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 352.3 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6025bd78b44a406eb71ca573116adba0e252214bb3c4f10cdda8661fdc6e8949
|
|
| MD5 |
f388b63ac01cf98e5b5a5fbe13d9c784
|
|
| BLAKE2b-256 |
4a5f74ca0143ec989668894f0cf9b757c40a92e61b94d4216a7099414c969c90
|
File details
Details for the file nexuslog-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: nexuslog-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 357.0 kB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5630dbbf0fda9200e83267461143ac6bac54644a144e4810c3abec2db1d068d
|
|
| MD5 |
9dfffe17baead31f208c9c5e6a651630
|
|
| BLAKE2b-256 |
1a9e0d8e12b07847dbc92cb19b2f57ef2af89eb99bc2a65388c8864848516689
|