export const LogLevels = [
    'EMERGENCY',
    'ALERT',
    'CRITICAL',
    'ERROR',
    'WARNING',
    'NOTICE',
    'INFO',
    'DEBUG',
] as const;

export type LogLevel = (typeof LogLevels)[number];

export type LogEntry = {
    id: string;
    timestamp: string;
    environment: string;
    level: LogLevel;
    message: string;
    raw: string;
};

export type LogFile = {
    name: string;
    size: number;
    modified_at: string;
};
