LogFlake Client Python
This repository contains the sources for the client-side components of the LogFlake product suite for applications logs and performance collection for Python applications.
🏠 [LogFlake Website](https://logflake.io) | 🔥 [CloudPhoenix Website](https://cloudphoenix.it)
Downloads
| PyPI Package Name | Version | Downloads |
|---|---|---|
| LogFlake.Client.Python |
Usage
Retrieve your application-key from Application Settings in LogFlake UI.
from logflake import logflake
logger = logflake.LogFlake('application-key')
logger.send_log(logflake.LogLevels.DEBUG, None, 'Hello World')
logger.shutdown()
Use logging handler example
LOGGING = {
"version": 1,
"formatters": {
"logflake": {
"()": "django.utils.log.ServerFormatter",
"format": f"%(name)s %(module)s.%(funcName)s() %(message)s",
},
},
"handlers": {
"logflake": {
"class": "logflake.logflake.LogFlakeHandler", # REQUIRED
"app_id": "application-key", # REQUIRED
"formatter": "logflake", # OPTIONAL: Use custom formatter
"server": "https://app.logflake.io", # OPTIONAL: Use custom logging server
"level": logging.ERROR, # OPTIONAL: Set minimum severity
}
},
"root": {
"handlers": ["logflake"], # REQUIRED
},
}
Metadata
Release files for logflake 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| logflake-1.2.1.tar.gz | 3.8 kB | Without provenance | Details for logflake-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| logflake-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for logflake-1.2.1-py3-none-any.whl |
Total release size: 7.8 kB
Release files / logflake-1.2.1.tar.gz
| Download URL | logflake-1.2.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abf3e8410ab9194df047ff613857625efd91f4514c84ba86644bcf3622cee002
|
|
BLAKE2b-256 checksum How to use checksums |
b14af36e59d8096b701e808e09ad226bb640462a8bf1c47af8db6d0213894c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / logflake-1.2.1-py3-none-any.whl
| Download URL | logflake-1.2.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b101d835d1e192f82dbab2e788fde2f0ca53572f5d9b05b9adfda351a371939
|
|
BLAKE2b-256 checksum How to use checksums |
6426da1202332291fc794535859048239a4bf27cd432f603fa8030df74a8e998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for logflake 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.