Skip to content

生成菜单时添加Debug日志#42

Merged
binarywang merged 4 commits intobinarywang:developfrom
aimilin6688:develop
Sep 21, 2016
Merged

生成菜单时添加Debug日志#42
binarywang merged 4 commits intobinarywang:developfrom
aimilin6688:develop

Conversation

@aimilin6688
Copy link
Copy Markdown

生成菜单时添加Debug日志,方便调试代码

this.wxMpService.execute(new SimplePostRequestExecutor(), url, menu.toJson());
url = API_URL_PREFIX + "/addconditional";
}
if(log.isTraceEnabled()){
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果记得没错的话,你这个判断是多余的

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aimilin6688 对于含有{}的需要格式化的日志输出,其对应方法里有了这个判断的,所以你的isXXXEnabled()就是多余的了

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经删除多余判断

@binarywang binarywang merged commit 350ffc3 into binarywang:develop Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants