企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 组件源码 ``` /** * <b>方法描述:</b> 打印Info日志 <br/> * <b>创建者:</b> admin <br/> * <b>创建时间:</b> 2018-04-03 15:15:51 <br/> * * @param msg 入参|内容| {@link Object} * @return 1 成功<br/> */ @Component(label = "输出日志(info)", style = "处理型", type = "同步组件", comment = "使用Info级别打印指定的内容", version = "1.0.0", deprecated = false, author = "admin", date = "2018-04-03 03:15:51") @InParams(param = {@Param(name = "msg", comment = "内容", type = Object.class)}) @Returns(returns = {@Return(id = "1", desp = "成功")}) public static ResultBase P_printInfo(Object msg) { AppLog.info("打印Info日志 组件打印内容:{}", JSONObject.toJSONString(msg)); return ResultBase.newSuccessResult(); } ``` # 交易中组件使用方式 ![](https://img.kancloud.cn/2e/7a/2e7a33fada149a91ec8e7f9f4051a99a_1867x865.png) # 参数说明及示例 ## 入口参数 内容:需要在该日志级别下显示的内容,示例: `"info 日志"`