import { requireAdminAuth } from "@/lib/staff-auth";
import LoggingDashboardClient from "./LoggingDashboardClient";

export const metadata = {
  title: "Logging & Metrics - Staff Dashboard",
  description: "Application logging, metrics, and observability dashboard",
};

export default async function LoggingDashboardPage() {
  await requireAdminAuth();

  return (
    <div className="space-y-6">
      <div>
        <h1 className="text-3xl font-bold text-brand-ink">Logging & Metrics</h1>
        <p className="text-gray-600 mt-1">
          Application observability, request metrics, and log configuration
        </p>
      </div>

      <LoggingDashboardClient />
    </div>
  );
}
