Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

记LOG得时候 message 里的内容 与 content里的内容会有冲突 #65

Closed
zhaochunyang opened this issue Dec 9, 2015 · 3 comments

Comments

@zhaochunyang
Copy link

$message = 'this id is {id} ';
$content = array('id' => 18);

log的结果是
info | 81873 | 1449658463.331 | 2015:12:09 18:54:23 | this 18 is {18}

@zhaochunyang
Copy link
Author

不能左匹配 必须把message里的id 加前缀 加后缀无效

@Neeke
Copy link
Member

Neeke commented Dec 10, 2015

感谢反馈,将在下个版本修复此问题。

为确修配目前使用正常,请先这样写:

$message = 'this id is {id}';
$content = array('{id}' => 18);

@zhaochunyang
Copy link
Author

Neeke added a commit that referenced this issue Feb 27, 2018
@Neeke Neeke closed this as completed Feb 27, 2018
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

No branches or pull requests

2 participants