1 #ifndef __MONO_LOGGER_H__
2 #define __MONO_LOGGER_H__
4 #include <mono/utils/mono-publib.h>
8 mono_trace_set_level_string (const char *value);
11 mono_trace_set_mask_string (const char *value);
13 typedef void (*MonoLogCallback) (const char *log_domain, const char *log_level, const char *message, mono_bool fatal, void *user_data);
14 typedef void (*MonoPrintCallback) (const char *string, mono_bool is_stdout);
17 mono_trace_set_log_handler (MonoLogCallback callback, void *user_data);
20 mono_trace_set_print_handler (MonoPrintCallback callback);
23 mono_trace_set_printerr_handler (MonoPrintCallback callback);
28 #endif /* __MONO_LOGGER_H__ */