mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-28 20:45:18 +00:00
13 lines
287 B
Go
13 lines
287 B
Go
// +build !debug
|
|
|
|
package yggdrasil
|
|
|
|
import "errors"
|
|
import "log"
|
|
|
|
// Starts the function profiler. This is only supported when built with
|
|
// '-tags build'.
|
|
func StartProfiler(_ *log.Logger) error {
|
|
return errors.New("Release builds do not support -pprof, build using '-tags debug'")
|
|
}
|