koishi-utils
Advanced tools
Comparing version 3.1.2 to 3.1.3
/// <reference types="node" /> | ||
import { InspectOptions } from 'util'; | ||
declare type LogFunction = (format: any, ...param: any[]) => void; | ||
declare type LogType = 'success' | 'error' | 'info' | 'warn' | 'debug'; | ||
export interface Logger extends Record<LogType, LogFunction> { | ||
} | ||
export declare class Logger { | ||
@@ -21,7 +24,2 @@ private name; | ||
private displayName; | ||
success: LogFunction; | ||
error: LogFunction; | ||
info: LogFunction; | ||
warn: LogFunction; | ||
debug: LogFunction; | ||
constructor(name: string, showDiff?: boolean); | ||
@@ -28,0 +26,0 @@ private color; |
{ | ||
"name": "koishi-utils", | ||
"description": "Utilities for Koishi", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
77448
878