Nameko extension for sematext logging
Project description
Nameko Sematext Logger
Get Started
pip install nameko-sematext-logger
config.yaml
SEMATEXT:
KEY: ${SEMATEXT_KEY:<DEFAULT_KEY_HERE>}
URL: <URL_HSER>
PORT: 514
service_file.py
from nameko_sematext import logger
class GreetingService:
sematext_logger = logger.Sematext()
...
def create_card(self, request):
...
self.sematext_logger.critical('This is a critical log')
self.sematext_logger.info('This is an info log')
self.sematext_logger.warning('This is a warning log')
self.sematext_logger.error('This is an error log')
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nameko-sematext-logger-0.0.1rc1.tar.gz
.
File metadata
- Download URL: nameko-sematext-logger-0.0.1rc1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf01b4dc729c417161308592f83348830da726cf3e1d7b45e880741db0d5418 |
|
MD5 | d89adf88287d95f8bc12b51540c0f61f |
|
BLAKE2b-256 | f63549f660463e8dd8fb62ccbdcb8238318181b1681416a9dcc106df559233b8 |
File details
Details for the file nameko_sematext_logger-0.0.1rc1-py3-none-any.whl
.
File metadata
- Download URL: nameko_sematext_logger-0.0.1rc1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfe497e8a1e628cf32cccc23b838da84fac06ae1d5d71b5f3410763d30567722 |
|
MD5 | add287737890efff5a8ac837b166184a |
|
BLAKE2b-256 | e3fa5c38984b5ec58db41668d0c46024485d855dfa8d64766e0c6542294dd6c1 |