Debug mode log/assertion for C/Objective-C in a file