From a436277764f8bca7057f54b76228d809e7340b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Tue, 11 May 2021 10:42:49 +0200 Subject: CMK gui logger warn --- config/doom/snippets/python-mode/cmkwarn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/doom/snippets/python-mode/cmkwarn 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 -- cgit v1.2.3