@extends('backend.layouts.app') @push('after-styles') @include('log-viewer::_template.style') @endpush @section('content-header') @section('page-header')
Log [{{ $log->date }}]
@endsection @section('content')
@include('log-viewer::_partials.menu')
{{-- Log Details --}}
  • File path:
    {{ $log->getPath() }}
  • Log entries: {{ $entries->total() }}
    Size: {{ $log->size() }}
    Created at: {{ $log->createdAt() }}
    Updated at: {{ $log->updatedAt() }}
{{-- Log Entries --}}
@if($entries->hasPages())
{!! $entries->appends(compact('query'))->render('log-viewer::_pagination.bootstrap-4') !!}
Page {!! $entries->currentPage() !!} of {!! $entries->lastPage() !!}
@endif
@forelse($entries as $key => $entry) @if($entry->hasStack()) @endif @empty @endforelse
ENV Level Time Header Actions
{{ $entry->env }} {!! $entry->level() !!} {{ $entry->datetime->format('H:i:s') }} {{ $entry->header }} @if($entry->hasStack()) @endif
{!! trim($entry->stack()) !!}
{{ __('log-viewer::general.empty-logs') }}
@if($entries->hasPages()) @endif
@endsection @push('after-scripts') @endpush