[SERVER-42894] Create CodeContext type and related macros Created: 19/Aug/19 Updated: 29/Oct/23 Resolved: 21/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Benjamin Caimano (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2019-09-09, Service Arch 2019-09-23, Service Arch 2019-10-07, Service Arch 2019-10-21 | ||||||||
| Participants: | |||||||||
| Description |
|
It's useful to have a quick and clean way to capture at least _FILE_ and _LINE_ macros. |
| Comments |
| Comment by Githook User [ 03/Mar/20 ] |
|
Author: {'username': 'bcaimano', 'name': 'Ben Caimano', 'email': 'ben.caimano@mongodb.com'}Message: (cherry picked from commit a01e4d53caeb92cf07faa2507cefcfa8acbf017c) |
| Comment by Githook User [ 17/Oct/19 ] |
|
Author: {'name': 'Ben Caimano', 'username': 'bcaimano', 'email': 'ben.caimano@mongodb.com'}Message: |
| Comment by Billy Donahue [ 06/Sep/19 ] |
|
A quick source_location demo: |
| Comment by Billy Donahue [ 05/Sep/19 ] |
|
I agree but let's try to emulate std::source_location for the API. |