pushGlobalHistoryLog($this->msg, $this->type); $logger->flush(); } }