mirror of
https://github.com/yggdrasil-network/yggdrasil-go
synced 2024-11-13 00:40:24 +03: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'")
|
|
}
|