Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILoggerDbCore

Hierarchy

  • ILoggerDbCore

Index

Properties

configure

configure: (options: { maxAgeMs: number; maxFailedLogs: number; maxLogs: number }) => void

Type declaration

    • (options: { maxAgeMs: number; maxFailedLogs: number; maxLogs: number }): void
    • Parameters

      • options: { maxAgeMs: number; maxFailedLogs: number; maxLogs: number }
        • maxAgeMs: number
        • maxFailedLogs: number
        • maxLogs: number

      Returns void

flushLogs

flushLogs: (routeKey: string, endpoint: string) => Promise<void>

Type declaration

    • (routeKey: string, endpoint: string): Promise<void>
    • Parameters

      • routeKey: string
      • endpoint: string

      Returns Promise<void>

flushLogsCore

flushLogsCore: (routeKey: string, endpoint: string) => Promise<IFlushResult>

Type declaration

    • (routeKey: string, endpoint: string): Promise<IFlushResult>
    • Parameters

      • routeKey: string
      • endpoint: string

      Returns Promise<IFlushResult>

storeLogs

storeLogs: (logs: unknown[], routeKey: string) => Promise<void>

Type declaration

    • (logs: unknown[], routeKey: string): Promise<void>
    • Parameters

      • logs: unknown[]
      • routeKey: string

      Returns Promise<void>

Generated using TypeDoc