ts-api-core
Version:
Nodejs api framework core
22 lines (21 loc) • 501 B
TypeScript
import { LogLevel } from '../model/log.leval';
/** API 日志 */
export declare class ApiLogDTO {
reqId?: string;
tid: string | undefined;
uid: string | undefined;
api: string;
url: string;
body: any | undefined;
exception: any | undefined;
esn?: string;
level?: LogLevel;
hostName?: string;
clientName?: string;
duration: number;
transDuration: number;
createdTime: Date;
sql?: any;
data?: any;
result?: any;
}