From 6c27f993d09a5c421cc427e4b3fd5aed985b7f1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org>
Date: Mon, 12 Aug 2019 13:06:31 +0200
Subject: [PATCH] ENH: output can now be controlled by verbosity more
 specifically

---
 src/caosadvancedtools/verbosity.py | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 src/caosadvancedtools/verbosity.py

diff --git a/src/caosadvancedtools/verbosity.py b/src/caosadvancedtools/verbosity.py
new file mode 100644
index 00000000..a927b5b6
--- /dev/null
+++ b/src/caosadvancedtools/verbosity.py
@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+# encoding: utf-8
+#
+# This file is a part of the CaosDB Project.
+#
+# Copyright (C) 2018 Research Group Biomedical Physics,
+# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
+# Copyright (C) 2019 Henrik tom Wörden
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+"""
+Verbosity levels are: quiet, info, verbose, debug
+"""
+QUIET = 0
+INFO = 1
+VERBOSE = 2
+DEBUG = 3
-- 
GitLab