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

commy2
Copy link
Contributor

@commy2 commy2 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
@Killswitch00 Killswitch00 deleted the log-macros-format-versions branch August 22, 2016 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants