1
0
Fork 0

Merging upstream version 1.1~rc0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:03:28 +01:00
parent 537ee18b08
commit 73281abe5f
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
764 changed files with 32602 additions and 5874 deletions

30
doc/rst/log.rst Normal file
View file

@ -0,0 +1,30 @@
.. _log.h:
**log.h**
logging functions
.. c:function:: void nvme_init_logging (nvme_root_t r, int lvl, bool log_pid, bool log_tstamp)
Initialize logging
**Parameters**
``nvme_root_t r``
nvme_root_t context
``int lvl``
Logging level to set
``bool log_pid``
Boolean to enable logging of the PID
``bool log_tstamp``
Boolean to enable logging of the timestamp
**Description**
Sets the default logging variables for the library.