func GetServerLogger(component string) PrintFFunc {
	return log.New(os.Stderr, fmt.Sprintf("%v: ", component), log.LstdFlags).Printf
}
GetServerLogger returns a PrintFFunc that prefixes messages with a component name.
package utils
import (
	"fmt"
	"log"
	"os"
)
type PrintFFunc func(format string, args ...interface{})
func GetTopicLogger(topicName, component string) PrintFFunc {
	return log.New(os.Stderr, fmt.Sprintf("Topic %v (%v): ", topicName, component), log.LstdFlags).Printf
}