aboutsummaryrefslogtreecommitdiff
path: root/gogs.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-20 02:25:02 +0800
committerGitHub <noreply@github.com>2020-02-20 02:25:02 +0800
commit1c09373b4f7dbc68154c817b4ee44bfa3b3f637c (patch)
treeaeec9a80d10f9ef28f0d0b128f8a84bf3cb5bdb1 /gogs.go
parent422a20648466f270de195dce3bca04e977bacd13 (diff)
log: migrate to unknwon.dev/clog/v2 (#5927)
* Add unknwon.dev/clog/v2 * Update all places
Diffstat (limited to 'gogs.go')
-rw-r--r--gogs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gogs.go b/gogs.go
index b310078e..aba0566a 100644
--- a/gogs.go
+++ b/gogs.go
@@ -11,7 +11,7 @@ import (
"os"
"github.com/urfave/cli"
- log "gopkg.in/clog.v1"
+ log "unknwon.dev/clog/v2"
"gogs.io/gogs/internal/cmd"
"gogs.io/gogs/internal/setting"
@@ -39,6 +39,6 @@ func main() {
cmd.Restore,
}
if err := app.Run(os.Args); err != nil {
- log.Fatal(2, "Failed to run: %v", err)
+ log.Fatal("Failed to start application: %v", err)
}
}