aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-05-11 10:42:49 +0200
committerÓscar Nájera <hi@oscarnajera.com>2021-05-11 10:42:49 +0200
commita436277764f8bca7057f54b76228d809e7340b05 (patch)
treeafe79f491742e1bff8b32a8181f3f48671994154 /config/doom
parent326489078f5762ad775adcff5e7c542176ca1776 (diff)
downloaddotfiles-a436277764f8bca7057f54b76228d809e7340b05.tar.gz
dotfiles-a436277764f8bca7057f54b76228d809e7340b05.tar.bz2
dotfiles-a436277764f8bca7057f54b76228d809e7340b05.zip
CMK gui logger warn
Diffstat (limited to 'config/doom')
-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