func newLogMessage(diff time.Duration, level LogLevel, module, message string) *LogMessage {
	t := time.Now().Round(time.Hour)
	t = t.Add(-1 * time.Duration(t.Hour()) * time.Hour)
	msg := &LogMessage{
		Time:    t.Add(diff),
		Level:   level,
		Module:  module,
		Message: message,
	}
	return msg
}
newLogMessage creates a log message with the current dates timestamp at
00:00:00, with the time diff applied to it.
package spotify
import (
	"errors"
	"reflect"
	"testing"
	"time"
)