@httpc/kit
Version:
httpc toolbox for building function-based API with minimal code and end-to-end type safety
12 lines (11 loc) • 458 B
TypeScript
import { ILogger, ILogService, LogLevel } from "../types";
export type ConsoleLogServiceOptions = {
level?: LogLevel | ((label: string) => LogLevel);
};
export declare class ConsoleLogService implements ILogService {
protected readonly options?: ConsoleLogServiceOptions | undefined;
constructor(options?: ConsoleLogServiceOptions | undefined);
createLogger(label: string, properties?: {
level?: string;
}): ILogger;
}