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
Is it should work on PhpShtorm? #31
Comments
I have no idea what your visual regex tester does wrong, but your regex suffers from extreme lack of escaping. It doesn't even work with your pattern and log sample for me. The correct regex that matches both messages provided by you is That aside, we are planning to add visual regex validation and testing aids to Ideolog sometime soon. |
@knah How plugin should be configured? |
"Patterns" specify how to highlight your logs. See #29 and https://github.com/JetBrains/ideolog/wiki/Highlighting-Patterns for more info. |
I realize this is a super-old thread, but in case anyone else finds it -- here's a regex that works with Yii2 (and thus Craft CMS) logs: Message pattern:
Message start pattern:
Time format:
Time capture group:
Severity capture group:
Category capture group:
...and then for the Patterns, you'll want to add a couple: Profile:
Debug:
|
I tried to use plugin at PhpShtorm 2017.3 in Yii php project.
I created new log format:
Standard log record at Yii project seems like:
I check pattern at online regex tester and it works: https://www.ocpsoft.org/tutorials/regular-expressions/java-visual-regex-tester/
Is it should works? Is it an issue?
The text was updated successfully, but these errors were encountered: