+/**
+ * \file
+ */
+
#ifndef __MONO_LOGGER_INTERNAL_H__
#define __MONO_LOGGER_INTERNAL_H__
#include <glib.h>
+#include <mono/utils/mono-compiler.h>
#include "mono-logger.h"
G_BEGIN_DECLS
* Traces a new message, depending on the current logging level
* and trace mask.
*/
-G_GNUC_UNUSED static void
-mono_trace (GLogLevelFlags level, MonoTraceMask mask, const char *format, ...)
+G_GNUC_UNUSED MONO_ATTR_FORMAT_PRINTF(3,4) static void
+mono_trace (GLogLevelFlags level, MonoTraceMask mask, const char *format, ...)
{
if(G_UNLIKELY (level <= mono_internal_current_level && mask & mono_internal_current_mask)) {
va_list args;
void mono_log_close_logcat (void);
#endif
+#if defined(HOST_IOS)
+void mono_log_open_asl (const char *path, void *userData);
+void mono_log_write_asl (const char *log_domain, GLogLevelFlags level, mono_bool hdr, const char *message);
+void mono_log_close_asl (void);
+
+#endif
+
G_END_DECLS
#endif /* __MONO_LOGGER_INTERNAL_H__ */