remove Log prefix from configlog functions

This commit is contained in:
Willy Kloucek
2022-08-22 08:08:18 +02:00
parent e58eaabdeb
commit 9f2be9f4f9
91 changed files with 100 additions and 100 deletions

View File

@@ -18,7 +18,7 @@ func Health(cfg *config.Config) *cli.Command {
Usage: "check health status",
Category: "info",
Before: func(c *cli.Context) error {
return configlog.LogReturnError(parser.ParseConfig(cfg))
return configlog.ReturnError(parser.ParseConfig(cfg))
},
Action: func(c *cli.Context) error {
logger := logging.Configure(cfg.Service.Name, cfg.Log)

View File

@@ -24,7 +24,7 @@ func Server(cfg *config.Config) *cli.Command {
Usage: fmt.Sprintf("start the %s service without runtime (unsupervised mode)", cfg.Service.Name),
Category: "server",
Before: func(c *cli.Context) error {
return configlog.LogReturnFatal(parser.ParseConfig(cfg))
return configlog.ReturnFatal(parser.ParseConfig(cfg))
},
Action: func(c *cli.Context) error {
logger := logging.Configure(cfg.Service.Name, cfg.Log)