INNER CODE UNIT · Go

func

resgateio/resgate · nats/nats.go:49

func (c *Client) Logf(format string, v ...interface{}) {
	c.Logger.Log(fmt.Sprintf(format, v...))
}

// Debugf writes a formatted debug message
func (c *Client) Debugf(format string, v ...interface{}) {
	if c.Logger.IsDebug() {
		c.Logger.Debug(fmt.Sprintf(format, v...))
	}
}

// Tracef writes a formatted trace message
func (c *Client) Tracef(format string, v ...interface{}) {
	if c.Logger.IsTrace() {
		c.Logger.Trace(fmt.Sprintf(format, v...))
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…