Enhanced logging to ensure messages are captured:
Logging Methods:
- Added os_log for system logging (visible in Console.app)
- Added NSLog for guaranteed output
- Kept print() for Xcode console
- Added emoji prefixes for easy filtering
Logging Points:
- ViewController initialization
- Bridge existence check
- WebView existence check
- WebView URL logging
- Sanity check execution
Fixes:
- Log visibility: messages now appear in multiple log streams
- Debugging: can now see if ViewController is being created
- WebView diagnosis: can see bridge and WebView state
Result: Logs should now be visible in Console.app and log stream