diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-10-25 14:57:47 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-10-25 14:57:47 +0200 |
commit | a692cfe7cea7a6abd9df625c0a8428c336ff7707 (patch) | |
tree | 423af093da14d75d68e9814c275b04337c0093ee /config/doom/snippets/python-mode/cmkwarn | |
parent | 0bea48f5c344d0010d431912b5985ab6ebaa30c2 (diff) | |
download | dotfiles-a692cfe7cea7a6abd9df625c0a8428c336ff7707.tar.gz dotfiles-a692cfe7cea7a6abd9df625c0a8428c336ff7707.tar.bz2 dotfiles-a692cfe7cea7a6abd9df625c0a8428c336ff7707.zip |
cmklogger
Diffstat (limited to 'config/doom/snippets/python-mode/cmkwarn')
-rw-r--r-- | config/doom/snippets/python-mode/cmkwarn | 3 |
1 files changed, 2 insertions, 1 deletions
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 |