<x-admin.layout title="API Logs">
    <div class="card">
        <div class="table-wrap">
        <table><thead><tr><th>Time</th><th>Method</th><th>Path</th><th>Status</th><th>IP</th></tr></thead><tbody>
            @foreach ($logs as $log)
                <tr><td>{{ $log->created_at?->format('Y-m-d H:i:s') }}</td><td>{{ $log->method }}</td><td>{{ $log->path }}</td><td>{{ $log->status }}</td><td>{{ $log->ip }}</td></tr>
            @endforeach
        </tbody></table>
        </div>
        {{ $logs->links() }}
    </div>
</x-admin.layout>
