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)
Metadata
Release files for itk-dev-event-log 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| itk_dev_event_log-1.0.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itk_dev_event_log-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / itk_dev_event_log-1.0.0.tar.gz
| Download URL | itk_dev_event_log-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05f8ca09fbbf10c06facdf241fb3dac609e55ca6a86d097da9cf8730cb6f7099
|
|
BLAKE2b-256 checksum How to use checksums |
61b1569930f48b4b87d85f5e7547d93df2854fe88411674d7a425f3b9255c1d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / itk_dev_event_log-1.0.0-py3-none-any.whl
| Download URL | itk_dev_event_log-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
601eed0f20e4bd01910ef01d6c06cb97b68171f236b941e4365893b132eab6cb
|
|
BLAKE2b-256 checksum How to use checksums |
0f2c47a7621bfbca8c000d0153fd11743ffedcf5960908e1f36ff8f4fc88d647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|