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.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nameko-sematext-logger-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 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.1.tar.gz
Algorithm Hash digest
SHA256 b341e1a83c2ca4f59a69ce1b447af4c255abeb84ff9cf8de9ce3fb586a3528b9
MD5 2e44cee5e6cb32520d53e7e444b53126
BLAKE2b-256 e66e7a37158506510602c6ee7e781782cdf7c5cd84de701b3e8eae35d7fb972a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nameko_sematext_logger-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25784765fab36f0e5e3c93d0833907098cdf2418d7b3dc9c4e9cd93dca107788
MD5 e3ab36a2fcd065a9efd5fc6e81be21ed
BLAKE2b-256 9e0d46d7111b2ae2936d6efb207b1d743100be712b7db55acc5091538bf7b771

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