diff options
author | zeripath <art27@cantab.net> | 2020-10-31 05:36:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 01:36:46 -0400 |
commit | 47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e (patch) | |
tree | 11b9670fc2655642b7b82873ca8b5a48a5e607ff /modules/log/log_test.go | |
parent | ffc8ce7baef0715bdc2d04cfc1e18379426a1e89 (diff) | |
download | gitea-47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e.tar.gz gitea-47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e.zip |
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>
Diffstat (limited to 'modules/log/log_test.go')
-rw-r--r-- | modules/log/log_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/log_test.go b/modules/log/log_test.go index 0e7583081c..810505dea5 100644 --- a/modules/log/log_test.go +++ b/modules/log/log_test.go @@ -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) |