public function info($msg = '', $param1 = null, $param2 = null, $param3 = null) { $num = func_num_args(); if ($num > 1) { $params = func_get_args(); unset($params[0]); $msg = PsStrings::replaceWithParams('{}', $msg, $params); } $this->logger->doWrite($this->id, $msg); }