Skip to main content

LiteLogger for Python

This is the official repo of the LiteLogger client for python. This make it easy to integrate LiteLogger into your existing logging infrastructure.

Installation

pip install LiteLogger

Usage

Below is a simple example. See the 'examples' folder for more comprehensive examples.

import logging
from LiteLogger import LiteLoggerHandler

log = logging.getLogger(__name__)

API_KEY = 'your_api_key'
STREAM_NAME = 'Your Log Stream Name'

# create the LiteLogger Handler
llhandler = LiteLoggerHandler(
	STREAM_NAME,
	API_KEY,
)

# add handler to logger and set level
log.addHandler(llhandler)
log.setLevel('INFO')

log.info('Some Log Message!', extra={
	'metadata': {'some_important_key': 'that keys value'},
	'tags': ['some tag', 'another tag']
})

Release files for LiteLogger 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LiteLogger 0.1.1
File Size Uploaded
LiteLogger-0.1.1.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for LiteLogger 0.1.1
File Interpreter ABI Platform
LiteLogger-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.1 kB

Release files / LiteLogger-0.1.1.tar.gz

Download URL LiteLogger-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d3c8febe4ad51962b838ed7dfb7e329b32d3d0c19f377132ae0354d1470db6b4
BLAKE2b-256 checksum
How to use checksums
347c9b995e1b92a9324f9980420ea43ad3915696b46b60fb6a1ec626eaea441e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

Release files / LiteLogger-0.1.1-py2.py3-none-any.whl

Download URL LiteLogger-0.1.1-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c9394c329b8497d14916a5709afc705aef048759766f35c4e25194cb91f08a22
BLAKE2b-256 checksum
How to use checksums
829e6d53cf5b7fb1795ff249c0f6e01e1fb4f561107ca8aa8cc8b8991c5fc583
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page