Свойство | Type | Description | |
---|---|---|---|
$lines |
Méthode | Description | |
---|---|---|
__construct ( $path = null, $name = 'logs' ) | ||
getLevels ( ) : array | Get the log levels from psr/log. | |
getLogs ( $file ) : array | Search a string for log entries Based on https://github.com/mikemand/logviewer/blob/master/src/Kmd/Logviewer/Logviewer.php by mikemand | |
getLogsFile ( ) : string | Get the path to the logs file | |
getStorageLogs ( string $path ) : array | get logs apache in app/storage/logs only 24 last of current day |
Méthode | Description | |
---|---|---|
tailFile ( string $file, integer $lines ) : array | By Ain Tohvri (ain) http://tekkie.flashbit.net/php/tail-functionality-in-php |
public getLogsFile ( ) : string | ||
Résultat | string |
public getStorageLogs ( string $path ) : array | ||
$path | string | |
Résultat | array |