@extends('admin.layouts.main') @section('title', $title ?? 'API Logs') @section('menu', 'Logs') @section('content')
@if(request()->hasAny(['search', 'service', 'status'])) Clear @endif
@forelse($logs as $log) @empty @endforelse
# Date Service Method URL HTTP Time Status Actions
{{ $log->id }} {{ $log->created_at->format('M d, Y H:i:s') }} {{ ucfirst(str_replace('_', ' ', $log->service)) }} {{ $log->method }} {{ Str::limit($log->url, 60) }} @if($log->http_status) {{ $log->http_status }} @else - @endif @if($log->response_time) {{ number_format($log->response_time, 0) }}ms @else - @endif {{ ucfirst($log->status) }}
No API logs found
@if($logs->hasPages()) @endif
@endsection