PHP 8.2.30
Preview: index.d.mts Size: 1.10 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@prisma/debug/dist/index.d.mts

export declare function clearLogs(): void;

declare const Debug: typeof debugCreate & {
    enable(namespace: any): void;
    disable(): any;
    enabled(namespace: string): boolean;
    log: (...args: string[]) => void;
    formatters: {};
};
export { Debug }
export default Debug;

/**
 * Create a new debug instance with the given namespace.
 *
 * @example
 * ```ts
 * import Debug from '@prisma/debug'
 * const debug = Debug('prisma:client')
 * debug('Hello World')
 * ```
 */
declare function debugCreate(namespace: string): ((...args: any[]) => void) & {
    color: string;
    enabled: boolean;
    namespace: string;
    log: (...args: string[]) => void;
    extend: () => void;
};

/**
 * We can get the logs for all the last {@link MAX_ARGS_HISTORY} ${@link debugCall} that
 * have happened in the different packages. Useful to generate error report links.
 * @see https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
 * @param numChars
 * @returns
 */
export declare function getLogs(numChars?: number): string;

export { }

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.10 KB lrw-r--r-- 2026-02-03 15:47:16
Edit Download
1.10 KB lrw-r--r-- 2026-02-03 15:47:16
Edit Download
6.94 KB lrw-r--r-- 2026-02-03 15:47:14
Edit Download
6.05 KB lrw-r--r-- 2026-02-03 15:47:16
Edit Download
123 B lrw-r--r-- 2026-02-03 15:47:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).