aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/snippets/python-mode/cmkwarn
diff options
context:
space:
mode:
Diffstat (limited to 'config/doom/snippets/python-mode/cmkwarn')
-rw-r--r--config/doom/snippets/python-mode/cmkwarn6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/doom/snippets/python-mode/cmkwarn b/config/doom/snippets/python-mode/cmkwarn
new file mode 100644
index 0000000..052a1aa
--- /dev/null
+++ b/config/doom/snippets/python-mode/cmkwarn
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: cmkwarn
+# key: warn
+# --
+from cmk.gui.log import logger
+logger.warn(("$1", $0)) \ No newline at end of file