PHP 클래스 Barryvdh\Debugbar\DataCollector\LogsCollector

상속: extends DebugBar\DataCollector\MessagesCollector
파일 보기 프로젝트 열기: barryvdh/laravel-debugbar

보호된 프로퍼티들

프로퍼티 타입 설명
$lines

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
tailFile ( string $file, integer $lines ) : array By Ain Tohvri (ain) http://tekkie.flashbit.net/php/tail-functionality-in-php

메소드 상세

__construct() 공개 메소드

public __construct ( $path = null, $name = 'logs' )

getLevels() 공개 메소드

Based on https://github.com/mikemand/logviewer/blob/master/src/Kmd/Logviewer/Logviewer.php by mikemand
public getLevels ( ) : array
리턴 array

getLogs() 공개 메소드

Search a string for log entries Based on https://github.com/mikemand/logviewer/blob/master/src/Kmd/Logviewer/Logviewer.php by mikemand
public getLogs ( $file ) : array
$file
리턴 array

getLogsFile() 공개 메소드

Get the path to the logs file
public getLogsFile ( ) : string
리턴 string

getStorageLogs() 공개 메소드

get logs apache in app/storage/logs only 24 last of current day
public getStorageLogs ( string $path ) : array
$path string
리턴 array

tailFile() 보호된 메소드

By Ain Tohvri (ain) http://tekkie.flashbit.net/php/tail-functionality-in-php
protected tailFile ( string $file, integer $lines ) : array
$file string
$lines integer
리턴 array

프로퍼티 상세

$lines 보호되어 있는 프로퍼티

protected $lines