Include a __MODULE__ global variable
| Originator: | davbeck | ||
| Number: | rdar://19996885 | Date Originated: | 28-Feb-2015 10:40 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Swift 1.2 |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Swift provides things like __FILE__ and __FUNCTION__ but no way to log the module that something comes from. By adding the __MODULE__ dynamic variable, logging libraries could filter by module.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!