[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - ios/Mobile

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 17 08:17:34 UTC 2020


 ios/Mobile/DocumentViewController.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit da9d108bef8793f4e08a52263abb9d66dc97b8b9
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Sep 16 16:07:17 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Sep 17 11:17:03 2020 +0300

    Unconditionally print any debug messages posted from the JS
    
    We don't have any such messages permanently in the code anyway, so we
    don't win anything by doing it through the LOOL loggin mechanism at
    level "trace".
    
    Change-Id: I2c18e1cd561f797d2c4c20b403d5faedce695062

diff --git a/ios/Mobile/DocumentViewController.mm b/ios/Mobile/DocumentViewController.mm
index eab598c2a..7dbf181ee 100644
--- a/ios/Mobile/DocumentViewController.mm
+++ b/ios/Mobile/DocumentViewController.mm
@@ -284,7 +284,7 @@ static IMP standardImpOfInputAccessoryView = nil;
     if ([message.name isEqualToString:@"error"]) {
         LOG_ERR("Error from WebView: " << [message.body UTF8String]);
     } else if ([message.name isEqualToString:@"debug"]) {
-        LOG_TRC_NOFILE("==> " << [message.body UTF8String]);
+        std::cerr << "==> " << [message.body UTF8String] << std::endl;
     } else if ([message.name isEqualToString:@"lool"]) {
         NSString *subBody = [message.body substringToIndex:std::min(100ul, ((NSString*)message.body).length)];
         if (subBody.length < ((NSString*)message.body).length)


More information about the Libreoffice-commits mailing list