gitea/modules/log
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader ()
* logs: add the buffer logger to inspect logs during testing

Signed-off-by: Loïc Dachary <loic@dachary.org>

* migrations: add test for importing pull requests in gitea uploader

Signed-off-by: Loïc Dachary <loic@dachary.org>

* for each git.OpenRepositoryCtx, call Close

* Content is expected to return the content of the log

* test for errors before defer

Co-authored-by: Loïc Dachary <loic@dachary.org>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
buffer.go migrations: add test for importing pull requests in gitea uploader ()
buffer_test.go migrations: add test for importing pull requests in gitea uploader ()
colors.go format with gofumpt ()
colors_router.go Refactor Router Logger ()
conn.go migrations: add test for importing pull requests in gitea uploader ()
conn_test.go format with gofumpt ()
console.go migrations: add test for importing pull requests in gitea uploader ()
console_test.go Fixed assert statements. ()
console_windows.go Fix windows build error ()
errors.go Better logging () ()
event.go migrations: add test for importing pull requests in gitea uploader ()
file.go migrations: add test for importing pull requests in gitea uploader ()
file_test.go format with gofumpt ()
flags.go Log: Ensure FLAGS=none is -1 ()
level.go Add an abstract json layout to make it's easier to change json library ()
level_test.go Add an abstract json layout to make it's easier to change json library ()
log.go Refactor Router Logger ()
log_test.go format with gofumpt ()
logger.go format with gofumpt ()
multichannel.go Simplify parameter types ()
provider.go migrations: add test for importing pull requests in gitea uploader ()
smtp.go migrations: add test for importing pull requests in gitea uploader ()
smtp_test.go Fixed assert statements. ()
stack.go format with gofumpt ()
writer.go format with gofumpt ()
writer_test.go Fixed assert statements. ()