From d90e3e4de53bd695dbdc5e8ba2fa8fb9ebfb4a5d Mon Sep 17 00:00:00 2001 From: worldwalker2000 Date: Thu, 17 Aug 2023 22:50:58 -0700 Subject: [PATCH] rename SetTraceLog to SetTraceLogLevel --- raylib/utils.go | 2 +- raylib/utils_android.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/raylib/utils.go b/raylib/utils.go index 7c3ec7b..8beda17 100644 --- a/raylib/utils.go +++ b/raylib/utils.go @@ -20,7 +20,7 @@ import ( ) // Set the current threshold (minimum) log level -func SetTraceLog(logLevel TraceLogLevel) { +func SetTraceLogLevel(logLevel TraceLogLevel) { clogLevel := (C.int)(logLevel) C.SetTraceLogLevel(clogLevel) } diff --git a/raylib/utils_android.go b/raylib/utils_android.go index 69c41c3..d758e86 100644 --- a/raylib/utils_android.go +++ b/raylib/utils_android.go @@ -19,7 +19,7 @@ import ( ) // Set the current threshold (minimum) log level -func SetTraceLog(logLevel TraceLogLevel) { +func SetTraceLogLevel(logLevel TraceLogLevel) { clogLevel := (C.int)(logLevel) C.SetTraceLogLevel(clogLevel) }