mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-29 04:55:16 +00:00
13 lines
288 B
Go
13 lines
288 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'")
|
||
|
}
|