summaryrefslogtreecommitdiffstats
path: root/util/logging.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:08:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:09:05 +0000
commit81e5ef4ae340ae4041f8029e7c14a3bc8baab46d (patch)
tree3b0b740dd83d6a1244e81e4270497ad8db31a9b7 /util/logging.h
parentReleasing debian version 2.8-2. (diff)
downloadnvme-cli-81e5ef4ae340ae4041f8029e7c14a3bc8baab46d.tar.xz
nvme-cli-81e5ef4ae340ae4041f8029e7c14a3bc8baab46d.zip
Merging upstream version 2.9.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'util/logging.h')
-rw-r--r--util/logging.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/logging.h b/util/logging.h
new file mode 100644
index 0000000..7b1814c
--- /dev/null
+++ b/util/logging.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef DEBUG_H_
+#define DEBUG_H_
+
+#include <stdbool.h>
+
+extern int log_level;
+
+int map_log_level(int verbose, bool quiet);
+
+#endif // DEBUG_H_