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:
@@ -46,6 +46,7 @@ func New(level string) (*logrus.Logger, error) {
|
||||
|
||||
log.SetFormatter(&logrus.TextFormatter{
|
||||
DisableColors: true,
|
||||
ForceQuote: true,
|
||||
FullTimestamp: true,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user