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

u3d/prettify: Fix UnityEngine.Debug.LogXXXFormat not being caught #270

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

niezbop
Copy link
Member

@niezbop niezbop commented Mar 26, 2018

Pull Request Checklist

  • My pull request has been rebased on master
  • I ran bundle exec rspec to make sure that my PR didn't break any test
  • I ran bundle exec rubocop to make sure that my PR is inline with our code style
  • I have read the code of conduct

Pull Request Description

Fixes #269

This simply makes it so that the prettifier rules for logging (normal, assertion, warning and error) match format logs as well so that they appear in the prettifier output (and consequently in the u3d run output as well). I have extended the pattern for matching a logging rule so that Debug.LogXXXFormat is treated the same way as Debug.LogXXX, making it easier to read logs.

@niezbop niezbop force-pushed the fix/prettify_catch_logformat branch 2 times, most recently from 512513a to 9608988 Compare March 26, 2018 13:53
@niezbop niezbop force-pushed the fix/prettify_catch_logformat branch from 9608988 to cafa092 Compare March 26, 2018 15:54
@niezbop niezbop merged commit db53704 into DragonBox:master Mar 26, 2018
@niezbop niezbop deleted the fix/prettify_catch_logformat branch March 26, 2018 15:56
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