+static void +out_vfprintf (FILE *ignore, const gchar *format, va_list args) +{ + __android_log_vprint (ANDROID_LOG_ERROR, "mono", format, args); +}
Shouldn't we identify the entry by the application name instead of mono? On Mon, Apr 19, 2010 at 2:44 PM, Jonathan Pryor <jonpr...@vt.edu> wrote: > This is a series of patches to add support to Mono for building against > the Android NDK [0]. Android runs the Linux kernel, but moves many > things around compared to a "normal" desktop Linux distro. > > These patches are based against the mono-2-6 branch. > > This first patch patches eglib so that messages produced by g_print(), > g_printerr(), and g_log() are sent to the Android message log: > > * src/glib.h: Rebase g_return_if_fail(), g_return_val_if_fail() in > terms of g_critical() instead of printf, and turn g_printerr() > into > an actual function instead of a macro. > * src/goutput.c: Add Android support, sending g_print(), > g_printerr(), > and g_log() messages to the Android system log. > > Permission to commit? > > - Jon > > [0] http://developer.android.com/sdk/ndk/index.html > > > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list