Alternc  latest
Alternc logiel libre pour l'hébergement
logs_tail.php File Reference

Go to the source code of this file.

Variables

 $fields
 Show the end of a log file and refresh automatically every few seconds similar to a tail -f in a console. More...
 
 $string =$log->tail($file,$lines)
 
 $alines =array(10=>10, 20=>20, 30=>30, 50=>50, 100=>100, 200=>200, 500=>500, 1000=>1000)
 
 if ( $autoreload)
 

Variable Documentation

◆ $alines

$alines =array(10=>10, 20=>20, 30=>30, 50=>50, 100=>100, 200=>200, 500=>500, 1000=>1000)

Definition at line 59 of file logs_tail.php.

◆ $fields

$fields
Initial value:
= array (
"file" => array ("request", "string", ""),
"autoreload" => array ("request", "integer", "1"),
"lines" => array ("request", "integer", "20"),
)

Show the end of a log file and refresh automatically every few seconds similar to a tail -f in a console.

Definition at line 29 of file logs_tail.php.

◆ $string

$string =$log->tail($file,$lines)

Definition at line 38 of file logs_tail.php.

Referenced by DB_Sql\quote(), and xml_entities().

◆ if

if($autoreload) (   $autoreload)

Definition at line 79 of file logs_tail.php.