summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_init_logging.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_init_logging.2')
-rw-r--r--doc/man/nvme_init_logging.220
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/man/nvme_init_logging.2 b/doc/man/nvme_init_logging.2
new file mode 100644
index 0000000..644cd8b
--- /dev/null
+++ b/doc/man/nvme_init_logging.2
@@ -0,0 +1,20 @@
+.TH "nvme_init_logging" 9 "nvme_init_logging" "January 2023" "libnvme API manual" LINUX
+.SH NAME
+nvme_init_logging \- Initialize logging
+.SH SYNOPSIS
+.B "void" nvme_init_logging
+.BI "(nvme_root_t r " ","
+.BI "int lvl " ","
+.BI "bool log_pid " ","
+.BI "bool log_tstamp " ");"
+.SH ARGUMENTS
+.IP "r" 12
+nvme_root_t context
+.IP "lvl" 12
+Logging level to set
+.IP "log_pid" 12
+Boolean to enable logging of the PID
+.IP "log_tstamp" 12
+Boolean to enable logging of the timestamp
+.SH "DESCRIPTION"
+Sets the default logging variables for the library.