mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
Gin logging (#165)
* start messing around with logger * more messing about * fix error with instance not created on startup (#156) * set logger * log user agent * finalize logging * go fmt * start messing around with logger * more messing about * set logger * log user agent * finalize logging * go fmt
This commit is contained in:
@ -66,9 +66,7 @@ func NewTestDB() db.DB {
|
||||
config.DBConfig.Address = alternateAddress
|
||||
}
|
||||
|
||||
l := logrus.New()
|
||||
l.SetLevel(logrus.TraceLevel)
|
||||
testDB, err := bundb.NewBunDBService(context.Background(), config, l)
|
||||
testDB, err := bundb.NewBunDBService(context.Background(), config, NewTestLog())
|
||||
if err != nil {
|
||||
logrus.Panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user