diff options
author | 2021-08-27 13:26:45 +0200 | |
---|---|---|
committer | 2021-08-27 13:26:45 +0200 | |
commit | add6eb6e2bb31b28882a5dc72ad143bccd712e99 (patch) | |
tree | 358b7300123cd260dc4e03fc545faafb5cab3308 /internal/log | |
parent | fix new tx within tx (#163) (diff) | |
download | gotosocial-add6eb6e2bb31b28882a5dc72ad143bccd712e99.tar.xz |
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
Diffstat (limited to 'internal/log')
-rw-r--r-- | internal/log/log.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/log/log.go b/internal/log/log.go index 03553606b..2e1afdb52 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -46,6 +46,7 @@ func New(level string) (*logrus.Logger, error) { log.SetFormatter(&logrus.TextFormatter{ DisableColors: true, + ForceQuote: true, FullTimestamp: true, }) |