diff options
author | zeripath <art27@cantab.net> | 2020-10-31 05:36:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 01:36:46 -0400 |
commit | 47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e (patch) | |
tree | 11b9670fc2655642b7b82873ca8b5a48a5e607ff /models | |
parent | ffc8ce7baef0715bdc2d04cfc1e18379426a1e89 (diff) | |
download | gitea-47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e.tar.gz gitea-47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e.zip |
Refactor Logger (#13294)
Refactor Logger to make a logger interface and make it possible to
wrap loggers for specific purposes.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models')
-rw-r--r-- | models/log.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/log.go b/models/log.go index 1cfddd90a1..942dbc744a 100644 --- a/models/log.go +++ b/models/log.go @@ -15,7 +15,7 @@ import ( // XORMLogBridge a logger bridge from Logger to xorm type XORMLogBridge struct { showSQL bool - logger *log.Logger + logger log.Logger } // NewXORMLogger inits a log bridge for xorm |