kicksaw-lambda-logger
This is intended for use with Kicksaw's integration projects and our other open-source libraries like pycm. However, these aren't hard dependencies.
Usage
from kicksaw_lambda_logger import get_logger
logger = get_logger(__name__)
logger.info("Logging is fun!")
Environment variables
There are two environment variables this library makes use of:
STAGELOG_LEVEL
STAGE represents your deployment environment, e.g., production, development, local, or test. This affects
which logging mechanism the library uses under the hood.
LOG_LEVEL represents the log level, e.g., DEBUG, INFO, WARNING, or ERROR.
Sentry
As this library grows, we'll be adding more helper methods for reporting in Sentry. For now, you can send an exception
to Sentry without your code dying by using send_exception_to_sentry.
Future plans
- Write all logs to
tmpso that other reporting tools can sweep the logs and do something with them - Add moe Sentry features
- Pass in stage and level from outside?
This project uses poetry for dependency management and packaging.
Metadata
Release files for kicksaw-lambda-logger 0.0.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 |
|---|---|---|---|---|
| kicksaw-lambda-logger-0.0.1.tar.gz | 2.4 kB | Without provenance | Details for kicksaw-lambda-logger-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kicksaw_lambda_logger-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for kicksaw_lambda_logger-0.0.1-py3-none-any.whl |
Total release size: 4.8 kB
Release files / kicksaw-lambda-logger-0.0.1.tar.gz
| Download URL | kicksaw-lambda-logger-0.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e94edbf51d0d7fd2d32018f9bc5c22f55a31b36cb4942f7d6ee688636cfc1b0
|
|
BLAKE2b-256 checksum How to use checksums |
bb40fb3c29235c9b161652a241f39ab20ebae25d77121336c75c4989d6ec2f41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.12 Linux/5.4.0-1063-azure
|
Release files / kicksaw_lambda_logger-0.0.1-py3-none-any.whl
| Download URL | kicksaw_lambda_logger-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1604e4bfea7499a9aeb84e22293953e3900b057c2896cfe7d655fc41fccaf509
|
|
BLAKE2b-256 checksum How to use checksums |
f12aa9e29b4f450973f9dab969ec577843e1f363c178ce7f7612ac26311e0965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.12 Linux/5.4.0-1063-azure
|
Security for kicksaw-lambda-logger 0.0.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.