From a692cfe7cea7a6abd9df625c0a8428c336ff7707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Mon, 25 Oct 2021 14:57:47 +0200 Subject: cmklogger --- config/doom/snippets/python-mode/cmkwarn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/doom/snippets/python-mode/cmkwarn b/config/doom/snippets/python-mode/cmkwarn index 052a1aa..d3fe8f9 100644 --- a/config/doom/snippets/python-mode/cmkwarn +++ b/config/doom/snippets/python-mode/cmkwarn @@ -3,4 +3,5 @@ # key: warn # -- from cmk.gui.log import logger -logger.warn(("$1", $0)) \ No newline at end of file +import pprint +logger.warning(pprint.pformat(("$1", $0))) \ No newline at end of file -- cgit v1.2.3