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.

Source Distribution

nameko-sematext-logger-0.0.0.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

nameko_sematext_logger-0.0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file nameko-sematext-logger-0.0.0.2.tar.gz.

File metadata

  • Download URL: nameko-sematext-logger-0.0.0.2.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

Hashes for nameko-sematext-logger-0.0.0.2.tar.gz
Algorithm Hash digest
SHA256 3080725ffa1b441ccfdbec6efadcf8d2b3a256dbc84674b11460c6a5852ae885
MD5 3cbb26c8d95d6270b3f95aa80e331794
BLAKE2b-256 c5d08b092c856d2c9b262bb152adf17e9661739886af925251c8422c569e20f5

See more details on using hashes here.

File details

Details for the file nameko_sematext_logger-0.0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nameko_sematext_logger-0.0.0.2-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

Hashes for nameko_sematext_logger-0.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02acc7af0a1a72e176ddaa54eb419362f64e31e0a4e1bfb4c4d106db03c53e89
MD5 5e148324781f342eafe72d5003c61da4
BLAKE2b-256 b97c661408754814839a9a6934afa9685b0c3752ccc0a5aff5e0732abdaadf24

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page