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

add format versions of log/warning/error/info macros #482

Merged
merged 1 commit into from Aug 22, 2016

Conversation

Projects
None yet
2 participants
@commy2
Copy link
Contributor

commented Aug 22, 2016

When merged this pull request will:

  • Cannot use format inside the parenthesis of a macro due to the commas, so it becomes annoying to use it without these variants.
  • Follows the same logic as TRACE_n and ACE
ERROR_2("%1: %2!", "banana count", 5);

->

[CBA] (diagnostic) ERROR: banana count: 5! File: x\cba\addons\diagnostic\XEH_preStart.sqf Line: 5

@commy2 commy2 added the Feature label Aug 22, 2016

@commy2 commy2 added this to the 3.0.1 milestone Aug 22, 2016

@Killswitch00 Killswitch00 merged commit 2be38fb into master Aug 22, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@Killswitch00 Killswitch00 deleted the log-macros-format-versions branch Aug 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.