File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -77,28 +77,6 @@ func (s NoopLogger) Name() string {
77
77
return "noop"
78
78
}
79
79
80
- type AccumulatorLogger struct {
81
- Buffer * []string
82
- }
83
-
84
- func (s AccumulatorLogger ) Fprintln (w io.Writer , level string , format string , a ... interface {}) {
85
- * s .Buffer = append (* s .Buffer , Format (format , a ... ))
86
- }
87
-
88
- func (s AccumulatorLogger ) Println (level string , format string , a ... interface {}) {
89
- s .Fprintln (nil , level , format , a ... )
90
- }
91
-
92
- func (s AccumulatorLogger ) Flush () string {
93
- str := strings .Join (* s .Buffer , "\n " )
94
- * s .Buffer = (* s .Buffer )[0 :0 ]
95
- return str
96
- }
97
-
98
- func (s AccumulatorLogger ) Name () string {
99
- return "accumulator"
100
- }
101
-
102
80
type HumanTagsLogger struct {}
103
81
104
82
func (s HumanTagsLogger ) Fprintln (w io.Writer , level string , format string , a ... interface {}) {
You can’t perform that action at this time.
0 commit comments