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.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3080725ffa1b441ccfdbec6efadcf8d2b3a256dbc84674b11460c6a5852ae885 |
|
MD5 | 3cbb26c8d95d6270b3f95aa80e331794 |
|
BLAKE2b-256 | c5d08b092c856d2c9b262bb152adf17e9661739886af925251c8422c569e20f5 |
Close
Hashes for nameko_sematext_logger-0.0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02acc7af0a1a72e176ddaa54eb419362f64e31e0a4e1bfb4c4d106db03c53e89 |
|
MD5 | 5e148324781f342eafe72d5003c61da4 |
|
BLAKE2b-256 | b97c661408754814839a9a6934afa9685b0c3752ccc0a5aff5e0732abdaadf24 |