[refactor][bug fix] rewrite the LOG.error function