def write_error(self, msg: str):
    'write error log message'
    self.write_log(msg=msg, level=ERROR)
write error log message
def write_error(self, msg: str):
    
    self.write_log(msg=msg, level=ERROR)