Other
Logging
Control SDK log output. Enable during debugging and disable in production:
objc
// Enable logging (must be called before initialization)
[LoxilyLocalize setLogEnable:YES];
[LoxilyLocalize initWithAppKey:@"YOUR_APP_KEY"
language:@"zh-cn"
isInternationalizing:YES
isDebug:NO];
// Disable logging (recommended for production)
[LoxilyLocalize setLogEnable:NO];Once enabled, you will see debug log messages in the Xcode console that may help with troubleshooting.
Recommendation:
Disable logging in production to reduce performance overhead and avoid exposing sensitive information.