日志 - log
# 日志相关函数
## 打印日志 | print
- 功能
打印日志,日志会输出到app以及ide。
- 参数
| 参数 | 类型 | 说明 |
| ------- | ------ | ---------------------------- |
| content | Object | 要输出的内容,可以是万能类型 |
- 例子
```groovy
print "hello world!"
print 1+1
print "hello","word!"
```
## 输出日志 | log
同print.
## trace
同print,不同之处在于会输出运行时的位置。
## 气泡消息 | toast
- 功能
弹出消息
- 参数
| 参数 | 类型 | 说明|
| ---- | ---- | ---- |
| text | Object | 弹出的内容,可以是万能类型,会自动转字符串(String)类型 |
- 例子
```groovy
toast "hello world!"
toast 1+1
```