@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
13 lines (12 loc) • 570 B
TypeScript
import { LogLevel } from '../api/index.js';
type LogInputProps = Array<string | undefined | null>;
export declare class Logger {
static logLevel: LogLevel;
private static shouldLog;
static log(...args: LogInputProps): void;
static warn(...args: LogInputProps): void;
static error(...args: LogInputProps): void;
static logRequest(method: string, url: string | undefined, headers: Record<string, string>): void;
static logResponse(method: string, url: string | undefined, headers: Record<string, string>, promise: Response): void;
}
export {};