forgejo/modules/setting
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
..
defaults.go Add default values for settings (#455) 2016-12-23 15:18:05 +08:00
setting.go Remove the default console logger when it is not set in the configuration (#602) (#960) 2017-02-18 22:25:28 +08:00