5 #ifndef __MONO_LOGGER_H__
6 #define __MONO_LOGGER_H__
8 #include <mono/utils/mono-publib.h>
12 mono_trace_set_level_string (const char *value
);
15 mono_trace_set_mask_string (const char *value
);
17 typedef void (*MonoPrintCallback
) (const char *string
, mono_bool is_stdout
);
18 typedef void (*MonoLogCallback
) (const char *log_domain
, const char *log_level
, const char *message
, mono_bool fatal
, void *user_data
);
21 mono_trace_set_log_handler (MonoLogCallback callback
, void *user_data
);
24 mono_trace_set_print_handler (MonoPrintCallback callback
);
27 mono_trace_set_printerr_handler (MonoPrintCallback callback
);
31 #endif /* __MONO_LOGGER_H__ */