Skip to main content

QWhaleLogsClient

QWhaleLogs client lib for saving logs in remote service

Install

$> pip install qwhale-logs-client

Get token

Go to login After the login go to get_token

Logging example

import logging
from qwhale_logs_client import init

init(token="<YOUR_TOKEN>", batch_site=1)  # Init logs capture
# The batch site is determine how many logs to send in one request
# For fewer sizes more requests are made (default to 100)

logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

logging.info("Some log") # Normal use
# Now your logs are sent to the QWhaleLogsService

Loguru example (Recommended)

from loguru import logger
from qwhale_logs_client import init

init(token="<YOUR_TOKEN>", batch_site=1)  # Init logs capture
# The batch site is determine how many logs to send in one request
# For fewer sizes more requests are made (default to 100)

logger.info("Some log") # normal use
# Now your logs are sent to the QWhaleLogsService

Release files for qwhale-logs-client 0.1.14

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

Source distribution (sdist)

Source distribution for qwhale-logs-client 0.1.14
File Size Uploaded
qwhale_logs_client-0.1.14.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qwhale-logs-client 0.1.14
File Interpreter ABI Platform
qwhale_logs_client-0.1.14-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / qwhale_logs_client-0.1.14.tar.gz

Download URL qwhale_logs_client-0.1.14.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff834c6e96fb84da097c2ea72c802b93bcbe4400c1ad7eb6b03f5c799ac7e4e8
BLAKE2b-256 checksum
How to use checksums
f3a19f5280c42cd310203a5f7ec87a187adf373b5365c779f4bfd54acb95f6e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release files / qwhale_logs_client-0.1.14-py3-none-any.whl

Download URL qwhale_logs_client-0.1.14-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ad2ff067377a561e904242e59519325c6681284d92e27041d80a3d8c6939f84
BLAKE2b-256 checksum
How to use checksums
9c1660c58ad1cb6d38fb3fb711ae1b4be8d868c07dc8090b44a5feda4d4566a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

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