DGTL Health BV NEN7513 compliant logging objects
Project description
dgtl-logging
NEN7513 compliant logging library according to the current scope of DGTL Health BV
Updating
- update
setup.py
with new version number - push or merge pull request to master branch and a github action will build and publish the package
Installing
pip install dgtl-logging
Usage
Usage of the EventObject
and UserObject
are similar and have a validate() method built-in. The CustomObject
does not have predefined parameters.
Use the validate()
method just before passing the object to your logging function.
from dgtl_logging.dgtl_logging import CustomObject, EventObject, UserObject
event = EventObject()
event.update_parameters(gebeurteniscode='code1')
event.update_parameters(actiecode='action1', utcisodatetime='2023-10-10T00:00:00Z')
event.update_parameters(identificatortype='type1', identificator='id1', aard='typeA')
To validate if all required parameters are filled: event.validate()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dgtl_logging-0.0.10.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file dgtl_logging-0.0.10.tar.gz
.
File metadata
- Download URL: dgtl_logging-0.0.10.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e064fedbf5a9efc252144d18fc294303c17ed6ead714895aee41d21b2efa7c93 |
|
MD5 | 22d75636c58b2c6f775bb9c04a2b3de2 |
|
BLAKE2b-256 | 9a9735cad73ee9e945580c008d074da058aa77f3b6d0c64be09183105fdc7327 |
File details
Details for the file dgtl_logging-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: dgtl_logging-0.0.10-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b405dff130416aec7a7d1687224f0b843fc989f6ac32c03731db0f653ed3c937 |
|
MD5 | ceeee2926a60e06821bec258bc530ab4 |
|
BLAKE2b-256 | 6d6f23eb901e9ff17f5bd906ed3f3e0088cb71b04a3f70da76dfd5b8f9626e92 |