rename SetTraceLog to SetTraceLogLevel

This commit is contained in:
worldwalker2000 2023-08-17 22:50:58 -07:00
parent 1083eace20
commit d90e3e4de5
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ import (
) )
// Set the current threshold (minimum) log level // Set the current threshold (minimum) log level
func SetTraceLog(logLevel TraceLogLevel) { func SetTraceLogLevel(logLevel TraceLogLevel) {
clogLevel := (C.int)(logLevel) clogLevel := (C.int)(logLevel)
C.SetTraceLogLevel(clogLevel) C.SetTraceLogLevel(clogLevel)
} }

View file

@ -19,7 +19,7 @@ import (
) )
// Set the current threshold (minimum) log level // Set the current threshold (minimum) log level
func SetTraceLog(logLevel TraceLogLevel) { func SetTraceLogLevel(logLevel TraceLogLevel) {
clogLevel := (C.int)(logLevel) clogLevel := (C.int)(logLevel)
C.SetTraceLogLevel(clogLevel) C.SetTraceLogLevel(clogLevel)
} }