Update raylib.go

This commit is contained in:
JupiterRider 2022-10-25 20:29:53 +02:00 committed by GitHub
parent 3c6fcf8bce
commit ef4e71cff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1195,16 +1195,25 @@ func newRenderTexture2DFromPointer(ptr unsafe.Pointer) RenderTexture2D {
return *(*RenderTexture2D)(ptr) return *(*RenderTexture2D)(ptr)
} }
// Log message types type TraceLogLevel int
// Trace log level
// NOTE: Organized by priority level
const ( const (
LogAll = iota // Display all logs
LogAll TraceLogLevel = iota
// Trace logging, intended for internal use only
LogTrace LogTrace
// Debug logging, used for internal debugging, it should be disabled on release builds
LogDebug LogDebug
// Info logging, used for program execution info
LogInfo LogInfo
// Warning logging, used on recoverable failures
LogWarning LogWarning
// Error logging, used on unrecoverable failures
LogError LogError
// Fatal logging, used to abort program: exit(EXIT_FAILURE)
LogFatal LogFatal
// Disable logging
LogNone LogNone
) )
var logTypeFlags byte = LogInfo | LogWarning | LogError