Dynamically Enable/Disable WebObjects SQL Logging
1 NSLog.allowDebugLoggingForGroups(0x10000L); 2 // Do something that roundtrips the DB, like editingContext.saveChanges(). 3 NSLog.refuseDebugLoggingForGroups(0x10000L);
DZone Snippets > rentzsch > sql
12881 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Jonathan 'Wolf' Rentzsch http://rentzsch.com
1 NSLog.allowDebugLoggingForGroups(0x10000L); 2 // Do something that roundtrips the DB, like editingContext.saveChanges(). 3 NSLog.refuseDebugLoggingForGroups(0x10000L);