You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Mono: Cleanup
This commit is contained in:
@@ -52,7 +52,7 @@ static int log_level_get_id(const char *p_log_level) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
void gdmono_MonoLogCallback(const char *log_domain, const char *log_level, const char *message, mono_bool fatal, void *user_data) {
|
||||
static void mono_log_callback(const char *log_domain, const char *log_level, const char *message, mono_bool fatal, void *user_data) {
|
||||
|
||||
FileAccess *f = GDMonoLog::get_singleton()->get_log_file();
|
||||
|
||||
@@ -153,7 +153,7 @@ void GDMonoLog::initialize() {
|
||||
|
||||
if (log_file) {
|
||||
print_verbose("Mono: Logfile is " + log_file_path);
|
||||
mono_trace_set_log_handler(gdmono_MonoLogCallback, this);
|
||||
mono_trace_set_log_handler(mono_log_callback, this);
|
||||
} else {
|
||||
OS::get_singleton()->printerr("Mono: No log file, using default log handler\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user