diff --git a/ulog/log.go b/ulog/log.go index 9430d42..9c68805 100644 --- a/ulog/log.go +++ b/ulog/log.go @@ -16,7 +16,6 @@ import "log" // It puts your information somewhere for safekeeping. type Logger interface { Printf(format string, v ...interface{}) - Print(v ...interface{}) } // Log is a Logger that prints to the log package's default logger. @@ -27,8 +26,5 @@ type emptyLogger struct{} // Printf implements Logger.Printf. func (emptyLogger) Printf(format string, v ...interface{}) {} -// Print implements Logger.Print. -func (emptyLogger) Print(v ...interface{}) {} - // Null is a logger that prints nothing. var Null Logger = emptyLogger{} diff --git a/ulog/ulogtest/log.go b/ulog/ulogtest/log.go index 28d46e6..b2be14f 100644 --- a/ulog/ulogtest/log.go +++ b/ulog/ulogtest/log.go @@ -18,8 +18,3 @@ type Logger struct { func (tl Logger) Printf(format string, v ...interface{}) { tl.TB.Logf(format, v...) } - -// Print formats according the default formats for v and prints to a unit test's log. -func (tl Logger) Print(v ...interface{}) { - tl.TB.Log(v...) -}