Skip to main content

A package used to emit to a simple event log.

Project description

itk_dev_event_log

Intro

This library is a simple MSSQL-based event logging system.

It allows one to log events to a database consisting of a process name, message and count. The log is automatically stamped with the current time.

Usage

import itk_dev_event_log

itk_dev_event_log.setup_logging(
    "Server=localhost\SQLEXPRESS;Database=MyDatabase;Trusted_Connection=yes;Driver={ODBC Driver 17 for SQL Server}"
)

itk_dev_event_log.emit("process", "message", 1)
itk_dev_event_log.emit("process", "message", 1)
itk_dev_event_log.emit("process", "message", 1)

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

itk_dev_event_log-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

itk_dev_event_log-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file itk_dev_event_log-1.0.0.tar.gz.

File metadata

  • Download URL: itk_dev_event_log-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for itk_dev_event_log-1.0.0.tar.gz
Algorithm Hash digest
SHA256 05f8ca09fbbf10c06facdf241fb3dac609e55ca6a86d097da9cf8730cb6f7099
MD5 c4fd1dc9c025534756fd436c83c41882
BLAKE2b-256 61b1569930f48b4b87d85f5e7547d93df2854fe88411674d7a425f3b9255c1d0

See more details on using hashes here.

File details

Details for the file itk_dev_event_log-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for itk_dev_event_log-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 601eed0f20e4bd01910ef01d6c06cb97b68171f236b941e4365893b132eab6cb
MD5 5ab227014ea3c572bacef5bbc268f812
BLAKE2b-256 0f2c47a7621bfbca8c000d0153fd11743ffedcf5960908e1f36ff8f4fc88d647

See more details on using hashes here.

Supported by

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