mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Refactor Logger (#13294)
Refactor Logger to make a logger interface and make it possible to wrap loggers for specific purposes. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		| @@ -11,7 +11,7 @@ import ( | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| ) | ||||
|  | ||||
| func baseConsoleTest(t *testing.T, logger *Logger) (chan []byte, chan bool) { | ||||
| func baseConsoleTest(t *testing.T, logger *MultiChannelledLogger) (chan []byte, chan bool) { | ||||
| 	written := make(chan []byte) | ||||
| 	closed := make(chan bool) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zeripath
					zeripath