forgejo/modules/log
Lunny Xiao 3121a7a037 Remove the default console logger when it is not set in the configuration (#602) (#960)
* 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-02-18 22:25:28 +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) (#960) 2017-02-18 22:25:28 +08:00
smtp.go golint fixed for modules/log 2016-11-26 19:53:29 +08:00