Metaregistrar\EPP\eppBase::writeLog PHP Method

writeLog() protected method

Writes a new entry to the log
protected writeLog ( string $text, string $action )
$text string
$action string
    protected function writeLog($text, $action)
    {
        if ($this->logging) {
            //echo "-----".date("Y-m-d H:i:s")."-----".$text."-----end-----\n";
            $this->logentries[] = "-----" . $action . "-----" . date("Y-m-d H:i:s") . "-----\n" . $text . "\n-----END-----" . date("Y-m-d H:i:s") . "-----\n";
        }
    }