Update raylib.go
This commit is contained in:
parent
3c6fcf8bce
commit
ef4e71cff7
1 changed files with 13 additions and 4 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue