rafaeljusto / toglacier

Periodic send data to the cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log inside library

rafaeljusto opened this issue · comments

Inject a logger into the library to add informational and debug level messages. This is useful when debugging a problem to understand what is going on.

For now we could use the following log interface:

type Log interface {
	Debug(args ...interface{})
	Debugf(format string, args ...interface{})
	Info(args ...interface{})
	Infof(format string, args ...interface{})
}