From 44893fce3984598857e7272b0b5b7d7e1fa7beed Mon Sep 17 00:00:00 2001 From: Joakim Persson Date: Sun, 4 Aug 2024 23:36:02 +0200 Subject: [PATCH] =?UTF-8?q?Fil=20med=20anv=C3=A4ndbara=20konstanter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smartassist/src/enum.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 smartassist/src/enum.py diff --git a/smartassist/src/enum.py b/smartassist/src/enum.py new file mode 100644 index 0000000..2da83a5 --- /dev/null +++ b/smartassist/src/enum.py @@ -0,0 +1,10 @@ +# Some useful constants to be used in the code + +from enum import Enum + +class LogLevel(Enum): + DEBUG = 'DEBUG' + INFO = 'INFO' + WARNING = 'WARNING' + ERROR = 'ERROR' + CRITICAL = 'CRITICAL' \ No newline at end of file