多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 组件源码 ``` /** * <b>方法描述:</b> 打印warn日志 <br/> * <b>创建者:</b> admin <br/> * <b>创建时间:</b> 2018-04-03 15:15:51 <br/> * * @param msg 入参|内容| {@link Object} * @return 1 成功<br/> */ @Component(label = "输出日志(warn)", style = "处理型", type = "同步组件", comment = "使用warn级别打印指定的内容", 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_printWarn(Object msg) { AppLog.warn("打印debug日志 组件打印内容:{}", msg); return ResultBase.newSuccessResult(); } ``` # 交易中组件使用方式 ![](https://img.kancloud.cn/09/02/09025bf29d6dd10183708c90470fefc5_1868x865.png) # 参数说明及示例 ## 入口参数 内容:需要在该日志级别下显示的内容,示例: `"warn 日志"`