Example #1
0
func Log(msg string, args ...interface{}) {
	if len(args) > 0 {
		logging.InfoData("node", fmt.Sprintf(msg, args...))
	} else {
		logging.InfoData("node", msg)
	}
}
Example #2
0
func (host *Host) Run(debug bool) (err os.Error) {
	logging.InfoData("node", "foo")
	for {

	}
	return
}