UNPKG

@convex-dev/geospatial

Version:
13 lines 786 B
import { Infer } from "convex/values"; export declare const logLevel: import("convex/values").VUnion<"DEBUG" | "INFO" | "WARN" | "ERROR", [import("convex/values").VLiteral<"DEBUG", "required">, import("convex/values").VLiteral<"INFO", "required">, import("convex/values").VLiteral<"WARN", "required">, import("convex/values").VLiteral<"ERROR", "required">], "required", never>; export type LogLevel = Infer<typeof logLevel>; export type Logger = { debug: (...args: unknown[]) => void; info: (...args: unknown[]) => void; warn: (...args: unknown[]) => void; error: (...args: unknown[]) => void; time: (label: string) => void; timeEnd: (label: string) => void; }; export declare function createLogger(level: LogLevel): Logger; //# sourceMappingURL=logging.d.ts.map