Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nameko-sematext-logger, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size nameko_sematext_logger-0.0.1-py3-none-any.whl (2.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nameko-sematext-logger-0.0.1.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page