protected  function writeMessage($level, $msg, $vars = null) {
		// Because of date('u')-PHP-bug (always 00000)
		$mtimeParts = explode(' ', microtime());

		$repl = array(
			Logger::PATTERN_CLASS => $this->classContext,
            Logger::PATTERN_CLASSNAME => StringUtils::afterLast($this->classContext, '\\'),
			Logger::PATTERN_LEVEL => str_pad($level, 5, ' ', STR_PAD_RIGHT),
			Logger::PATTERN_MESSAGE => $msg,
			Logger::PATTERN_TIMESTAMP => date($this->dtFormat, $mtimeParts[1]) . ',' . substr($mtimeParts[0], 2) /* date('Y-m-d H:i:s,u') */
		);

		error_log(str_ireplace(array_keys($repl), $repl, $this->pattern) . "\r\n", 3, $this->logfilePath);
	}
protected  function writeMessage($level, $msg, $vars = null) {
		// Because of date('u')-PHP-bug (always 00000)
		$mtimeParts = explode(' ', microtime());

		$repl = array(
			Logger::PATTERN_CLASS => $this->classContext,
            Logger::PATTERN_CLASSNAME => StringUtils::afterLast($this->classContext, '\\'),
			Logger::PATTERN_LEVEL => str_pad($level, 5, ' ', STR_PAD_RIGHT),
			Logger::PATTERN_MESSAGE => $msg,
			Logger::PATTERN_TIMESTAMP => date($this->dtFormat, $mtimeParts[1]) . ',' . substr($mtimeParts[0], 2) /* date('Y-m-d H:i:s,u') */
		);

		error_log(str_ireplace(array_keys($repl), $repl, $this->pattern) . "\r\n", 3, $this->logfilePath);
	}
protected function writeMessage ( $ level , $ msg , $ vars = null ) { // Because of date('u')-PHP-bug (always 00000) $ mtimeParts = explode ( ' ' , microtime ( ) ) ; $ repl = array ( Logger :: PATTERN_CLASS => $ this -> classContext , Logger :: PATTERN_CLASSNAME => StringUtils :: afterLast ( $ this -> classContext , '\\' ) , Logger :: PATTERN_LEVEL => str_pad ( $ level , 5 , ' ' , STR_PAD_RIGHT ) , Logger :: PATTERN_MESSAGE => $ msg , Logger :: PATTERN_TIMESTAMP => date ( $ this -> dtFormat , $ mtimeParts [ 1 ] ) . ',' . substr ( $ mtimeParts [ 0 ] , 2 ) /* date('Y-m-d H:i:s,u') */ ) ; error_log ( str_ireplace ( array_keys ( $ repl ) , $ repl , $ this -> pattern ) . "\r\n" , 3 , $ this -> logfilePath ) ; }
Writes the message with the given pattern into the defined log-file
@param type $level
@param type $msg
@param type $vars
Writes the message with the given pattern into the defined log - file