Function genCustomConsole
- genCustomConsole(prefix?, options?): Console
Parameters
prefix: string = ""
options: {
errorFn?: (() => void);
isClosed?: boolean;
locales?: string;
logFn?: (() => void);
showDate?: boolean;
showWrap?: boolean;
} = ...
Optional
errorFn?: (() => void)
Optional
isClosed?: boolean
Optional
locales?: string
Optional
logFn?: (() => void)
Optional
showDate?: boolean
Optional
showWrap?: boolean
Returns Console
新实例
EN: Custom console printing (
console
).ZH: 生成自定义控制台打印。
Usage:
Output: