added warnings in yellow

This commit is contained in:
Edwin Eefting
2021-05-18 19:22:46 +02:00
parent a389e4c81c
commit 830ccf1bd4
4 changed files with 30 additions and 12 deletions

View File

@ -151,6 +151,9 @@ class ZfsNode(ExecuteNode):
def error(self, txt):
self.logger.error("{} {}".format(self.description, txt))
def warning(self, txt):
self.logger.warning("{} {}".format(self.description, txt))
def debug(self, txt):
self.logger.debug("{} {}".format(self.description, txt))