Implementing syslog for Android application
I'm going to develop a native syslog client on Android 4.3.
I have two applications which needs to be able to print syslog messages to a file and/or a syslog server.
I'm wondering what the best approach would be so the reason for my post here is to get some inspiration and advice.
I would like to keep everything in native code and then expose some methods to the Java level via JNI.
It would be great if the two applications I have could send syslog messages to the same native syslog instance, but I'm not sure how that would be done and what the approach would be? Is it possible to deploy native code as a service which can be used by different apps?
Or should I just implement some syslog code in C/C++ and then let that code be compiled in with each application?
Any thoughts, ideas and/or advice?