func (m Message) String() string {
	ns := ""
	if len(m.Namespace) > 0 {
		ns = fmt.Sprintf("%s ", m.Namespace)
	}
	return fmt.Sprintf(
		"%s %s (%s%s) %s",
		m.Timestamp.String(), m.Name, ns, m.Instance, m.Text,
	)
}
String implements the Stringer interface and allows for nice and simple string formatting of a log Message.
package logs
import (
	"fmt"
	"time"
)
type Request struct {
	Name string `json:"name"`
	Namespace string `json:"namespace"`
	Instance string `json:"instance"`
	Since *time.Time `json:"since"`
	Tail int `json:"tail"`
	Follow bool `json:"follow"`
}
func (r Request) String() string {
	return fmt.Sprintf(
		"name: %s namespace: %s instance: %s since: %v tail: %d follow: %v",
		r.Name, r.Namespace, r.Instance, r.Since, r.Tail, r.Follow,
	)
}
type Message struct {
	Name string `json:"name"`
	Namespace string `json:"namespace"`
	Instance string `json:"instance"`
	Timestamp time.Time `json:"timestamp"`
	Text string `json:"text"`
}