Skip to content

Commit

Permalink
Merge branch 'main' into levellog
Browse files Browse the repository at this point in the history
  • Loading branch information
rminnich authored Feb 8, 2024
2 parents 018fbff + 2ba503b commit ba3efea
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 153 deletions.
57 changes: 0 additions & 57 deletions uio/linewriter.go

This file was deleted.

37 changes: 0 additions & 37 deletions uio/multiwriter.go

This file was deleted.

50 changes: 0 additions & 50 deletions uio/uiotest/uiotest.go

This file was deleted.

4 changes: 0 additions & 4 deletions ulog/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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{}
5 changes: 0 additions & 5 deletions ulog/ulogtest/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}

0 comments on commit ba3efea

Please sign in to comment.