* * Anzeige eines LogFile's des IPSModuleManager's * */ /** @}*/ ?> LogHandler()->GetLogFileContent($info); $html = ''; foreach ($logLines as $idx=>$line) { $pos1 = strpos($line, '-'); if ($pos1!==false) { $pos2 = strpos($line, '-', $pos1+1); $pos3 = $pos2+30; $app = substr($line, 0, $pos1); $logtype = substr($line, $pos1+1, $pos2-$pos1-1); $function = substr($line, $pos2+1, $pos3-$pos2-1); $date = substr($line, $pos3+1, 22); $msg = substr($line, $pos3+23); } else { $app = ''; $logtype = ''; $function = ''; $date = ''; $msg = ''; } $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= PHP_EOL; } echo $html; ?>
AppTypeContextDate/TimeMessage
'.$app.'
'.$logtype.'
'.$function.'
'.$date.'
'.$msg.'