Archived
1

Updated mogrus, new remote on source.wtfteam.pro

This commit is contained in:
2018-02-14 03:22:16 +04:00
parent a841f916d8
commit 7d19a312eb
7 changed files with 46 additions and 28 deletions

View File

@@ -6,10 +6,10 @@ import (
"net/http"
"os"
// 3rd-party
"lab.pztrn.name/golibs/flagger"
"lab.pztrn.name/golibs/mogrus"
"source.pztrn.name/golibs/flagger"
"source.pztrn.name/golibs/mogrus"
// local
"lab.pztrn.name/fat0troll/wind8_fetcher/lib/config"
"source.wtfteam.pro/wind8/wind8_fetcher/lib/config"
)
// Context is an application context struct
@@ -25,7 +25,7 @@ func (c *Context) Init() {
l := mogrus.New()
l.Initialize()
c.Log = l.CreateLogger("stdout")
c.Log.CreateOutput("stdout", os.Stdout, true)
c.Log.CreateOutput("stdout", os.Stdout, true, "debug")
c.Cfg = config.New()

View File

@@ -6,7 +6,7 @@ import (
"path/filepath"
// 3rd-party
"gopkg.in/yaml.v2"
"lab.pztrn.name/golibs/mogrus"
"source.pztrn.name/golibs/mogrus"
)
// HTTPServerConfiguration handles HTTP server configuration in config file