@extends('layouts.admin') @section('title', 'Application Logs') @section('breadcrumb', 'Application Logs') @php if (!function_exists('log_level_badge')) { function log_level_badge($level) { return match ($level) { 'ERROR', 'CRITICAL', 'ALERT', 'EMERGENCY' => 'bg-red-100 text-red-800', 'WARNING' => 'bg-yellow-100 text-yellow-800', 'INFO', 'NOTICE' => 'bg-blue-100 text-blue-800', 'DEBUG' => 'bg-gray-100 text-gray-700', default => 'bg-purple-100 text-purple-800', }; } } @endphp @section('content')
View, search, download, clear or delete application log files.
Total
{{ number_format($stats['total']) }}
Errors
{{ number_format($stats['ERROR']) }}
Warnings
{{ number_format($stats['WARNING']) }}
Info
{{ number_format($stats['INFO']) }}
Debug
{{ number_format($stats['DEBUG']) }}
{{ $entry['message'] }}
@if (!empty($entry['context'])){{ $entry['context'] }}
No log entries found{{ $search || $level ? ' for the current filters' : '' }}.