Method |
Description |
|
all ( ) : Arcanedev\LogViewer\Entities\LogCollection |
Get all logs. |
|
count ( ) : integer |
Get logs count. |
|
dates ( ) : array |
List the log files (only dates). |
|
delete ( string $date ) : boolean |
Delete the log. |
|
download ( string $date, string | null $filename = null, array $headers = [] ) : BinaryFileResponse |
Download a log file. |
|
entries ( string $date, string $level = 'all' ) : Arcanedev\LogViewer\Entities\LogEntryCollection |
Get the log entries. |
|
files ( ) : array |
List the log files. |
|
get ( string $date ) : Arcanedev\LogViewer\Entities\Log |
Get a log. |
|
isEmpty ( ) : boolean |
Determine if the log folder is empty or not. |
|
levels ( boolean | false $flip = false ) : array |
Get the log levels. |
|
levelsNames ( string | null $locale = null ) : array |
Get the translated log levels. |
|
menu ( boolean | true $trans = true ) : array |
Get logs menu. |
|
paginate ( integer $perPage = 30 ) : Illuminate\Pagination\LengthAwarePaginator |
Paginate all logs. |
|
setPath ( string $path ) : Arcanedev\LogViewer\LogViewer |
Set the log storage path. |
|
stats ( ) : array |
Get logs statistics. |
|
statsTable ( string | null $locale = null ) : StatsTable |
Get logs statistics table. |
|
total ( string $level = 'all' ) : integer |
Get entries total from all logs. |
|
tree ( boolean | false $trans = false ) : array |
Get logs tree. |
|
version ( ) : string |
Get the LogViewer version. |
|