func (h *hub) Panicf(format string, v ...interface{}) {
	h.base.Panicf(format, v...)
}
Panicf for logging of panic messages.  Uses atomic log mechanism.
package flowgraph
import (
	"github.com/vectaport/fgbase"
)
type Hub interface {
	Name() string
	SetName(name string)
	Tracef(format string, v ...interface{})
	LogError(format string, v ...interface{})
	Panicf(format string, v ...interface{})
	Source(port interface{}) Stream
	Result(port interface{}) Stream
	SetSource(port interface{}, s Stream) Hub
	SetResult(port interface{}, s Stream) Hub
	AddSources(s ...Stream) Hub
	AddResults(s ...Stream) Hub
	NumSource() int
	NumResult() int
	SetNumSource(n int) Hub
	SetNumResult(n int) Hub
	SourceNames() []string
	ResultNames() []string
	SetSourceNames(nm ...string) Hub
	SetResultNames(nm ...string) Hub
	SourceIndex(port interface{}) int
	ResultIndex(port interface{}) int
	ConnectSources(source ...Stream) Hub
	ConnectResults(result ...Stream) Hub
	HubCode() HubCode
	Empty() bool
	Flowgraph() Flowgraph
	Base() interface{}
}
type hub struct {
	base *fgbase.Node
	fg   *flowgraph
	code HubCode
}
func (h *hub) Tracef(format string, v ...interface{}) {
	h.base.Tracef(format, v...)
}
func (h *hub) LogError(format string, v ...interface{}) {
	h.base.LogError(format, v...)
}