Methods
(static) create() → {log}
创建log日志实例,返回一个包含全部输入日志方法集合的对象
Returns:
- Type
- log
(static) dir(…对象)
枚举对象属性
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
对象 |
string |
<repeatable> |
(static) error(…日志内容)
打印错误日志
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
日志内容 |
string |
<repeatable> |
(static) info()
打印信息
(static) log()
打印信息日志
(static) tip(title, info, typeopt)
输出提示信息
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
title |
string | 标题 |
||
info |
string | 内容 |
||
type |
string |
<optional> |
primary
|
颜色类型,支持:primary/success/warn/error |
(static) warn(…日志内容)
打印警告日志
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
日志内容 |
string |
<repeatable> |