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
Close
Hashes for nameko-sematext-logger-0.0.1rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf01b4dc729c417161308592f83348830da726cf3e1d7b45e880741db0d5418 |
|
MD5 | d89adf88287d95f8bc12b51540c0f61f |
|
BLAKE2b-256 | f63549f660463e8dd8fb62ccbdcb8238318181b1681416a9dcc106df559233b8 |
Close
Hashes for nameko_sematext_logger-0.0.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfe497e8a1e628cf32cccc23b838da84fac06ae1d5d71b5f3410763d30567722 |
|
MD5 | add287737890efff5a8ac837b166184a |
|
BLAKE2b-256 | e3fa5c38984b5ec58db41668d0c46024485d855dfa8d64766e0c6542294dd6c1 |