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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b341e1a83c2ca4f59a69ce1b447af4c255abeb84ff9cf8de9ce3fb586a3528b9 |
|
MD5 | 2e44cee5e6cb32520d53e7e444b53126 |
|
BLAKE2b-256 | e66e7a37158506510602c6ee7e781782cdf7c5cd84de701b3e8eae35d7fb972a |
Close
Hashes for nameko_sematext_logger-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25784765fab36f0e5e3c93d0833907098cdf2418d7b3dc9c4e9cd93dca107788 |
|
MD5 | e3ab36a2fcd065a9efd5fc6e81be21ed |
|
BLAKE2b-256 | 9e0d46d7111b2ae2936d6efb207b1d743100be712b7db55acc5091538bf7b771 |