]> arthur.barton.de Git - netdata.git/commitdiff
more wrapping
authorpaulfantom <paulfantom@gmail.com>
Thu, 23 Jun 2016 11:21:56 +0000 (13:21 +0200)
committerpaulfantom <paulfantom@gmail.com>
Thu, 23 Jun 2016 11:21:56 +0000 (13:21 +0200)
python.d/python_modules/base.py

index 2ee88910e8d4a6e3f51a176a243f957effb22527..691b94b4e361e14886ad7f1d544aa7ab978e528d 100644 (file)
@@ -169,6 +169,15 @@ class BaseService(threading.Thread):
         print(self.data_stream)
         self.data_stream = ""
 
+    def error(self, *params):
+        msg.error(self.chart_name, *params)
+
+    def debug(self, *params):
+        msg.debug(self.chart_name, *params)
+
+    def info(self, *params):
+        msg.info(self.chart_name, *params)
+
     def check(self):
         """
         check() prototype