1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-02 16:24:25 +00:00
gitea/modules/log
willemvd 8c2c7b802f Remove the default console logger when it is not set in the configuration (#602)
* Remove the default console logger when it is not set in the configuration

* Added comment to new function (lint failure)

* update based on PR comments (code style)

* code style fix (thanks bkcsoft)

* check if logger exists based on the l.outputs (like in l.DelLogger) instead of adapter, otherwise panic when reinstalling gitea (since the output adapter still exist, without outputs)
2017-01-17 14:02:35 +08:00
..
conn.go golint fixed for modules/log 2016-11-26 19:53:29 +08:00
console.go golint fixed for modules/log 2016-11-26 19:53:29 +08:00
file.go Catch os... errors 2016-12-02 07:41:19 +01:00
log.go Remove the default console logger when it is not set in the configuration (#602) 2017-01-17 14:02:35 +08:00
smtp.go golint fixed for modules/log 2016-11-26 19:53:29 +08:00