prorm API Reference
    Preparing search index...

    Interface LoggerEvents

    Logger event types

    interface LoggerEvents {
        log: (entry: LogEntry) => void;
        query: (sql: string, duration: number) => void;
        slowQuery: (sql: string, duration: number) => void;
        error: (error: Error) => void;
    }
    Index
    log: (entry: LogEntry) => void
    query: (sql: string, duration: number) => void
    slowQuery: (sql: string, duration: number) => void
    error: (error: Error) => void