@halsp/core
Version:
面向云的现代渐进式轻量 Node.js 框架
13 lines (12 loc) • 536 B
TypeScript
export interface ILogger {
debug(message: any, ...optionalParams: any[]): this;
info(message: any, ...optionalParams: any[]): this;
warn(message: any, ...optionalParams: any[]): this;
error(message: any, ...optionalParams: any[]): this;
}
export declare class BaseLogger implements ILogger {
debug(message: any, ...optionalParams: any[]): this;
info(message: any, ...optionalParams: any[]): this;
warn(message: any, ...optionalParams: any[]): this;
error(message: any, ...optionalParams: any[]): this;
}