fckeuspy-go/vendor/fyne.io/fyne/v2/internal/hints_enabled.go

19 lines
317 B
Go

//go:build hints
package internal
import (
"log"
"runtime"
)
// LogHint reports a developer hint that should be followed to improve their app.
func LogHint(reason string) {
log.Println("Fyne hint: ", reason)
_, file, line, ok := runtime.Caller(2)
if ok {
log.Printf(" Created at: %s:%d", file, line)
}
}