Type alias LogArgs<DAOName>

LogArgs<DAOName>: {
    dao?: DAOName;
    date: Date;
    driver?: DriverType;
    duration?: number;
    error?: unknown;
    level: LogLevel;
    operation?: "count" | "findAll" | "findPage" | "exists" | "aggregate" | "insertAll" | "updateOne" | "updateAll" | "replaceOne" | "deleteOne" | "deleteAll" | "middlewareBefore" | "middlewareAfter";
    query?: string;
    raw: string;
}

Type Parameters

  • DAOName extends string

Type declaration

  • Optional dao?: DAOName
  • date: Date
  • Optional driver?: DriverType
  • Optional duration?: number
  • Optional error?: unknown
  • level: LogLevel
  • Optional operation?: "count" | "findAll" | "findPage" | "exists" | "aggregate" | "insertAll" | "updateOne" | "updateAll" | "replaceOne" | "deleteOne" | "deleteAll" | "middlewareBefore" | "middlewareAfter"
  • Optional query?: string
  • raw: string

Generated using TypeDoc