You are not logged in.
Pages: 1
Hi! I'm a just newbie to mORMot Framework.
I found the logging system of this framework great. And I would like to use this logging on an Android application developed with XE5.
Is it available on Android? or are there any workaround to use logging on Android? Even if some features of would be lost by workarounds, it might be ok :-)
Offline
You can use our SynCrossPlatform client for Android.
Then you can use TSQLRest.LogToRemoteServer() and Log() methods to remotely log to our LogView tool, which will run on your desktop.
See http://synopse.info/files/html/api-1.18 … l#TSQLREST
Offline
Thank you, ab.
But for the application we are developing now, flat file logs would be better(maybe i can do it by using TSQLRest.LogToFile), and the functions offered by TSynLog like log rotations, compressing files, and Enter method would be especially helpful.
Are these any way to use these functions on Android?
Last edited by Naoki (2014-11-07 02:27:21)
Offline
Yes, I would like to log on the Android device storage.
I suppose that the application would run mostly in the offline situation, so I want to control the lifetime of the application logs to monitor what happened on the device later. I think I might often lose the application logs unexpectedly, depending on the Android's Logs.
Am I correct? I'm also a newbie to Android...
Last edited by Naoki (2014-11-07 11:23:05)
Offline
There are logging classes in Android http://developer.android.com/reference/ … l/Log.html
But they are quite limited.
Offline
Yes, for our application, the logging classes in Android is not enough.
So I'm searching other ways to record app logs, for example using flat files or using Sqlite...
And I found TSynlog's features (log rotations, compressing files, and Enter method) would be the best solution! if it worked on Android device...
Offline
Pages: 1