Skip to content

Commit

Permalink
Rename logging/ to logger/
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Cummer committed Jun 17, 2018
1 parent 993166e commit 3309579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion logging/log.go → logger/log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package logging
package logger

import (
"fmt"
Expand Down
6 changes: 2 additions & 4 deletions wtf.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/senorprogrammer/wtf/ipaddresses/ipinfo"
"github.com/senorprogrammer/wtf/jenkins"
"github.com/senorprogrammer/wtf/jira"
"github.com/senorprogrammer/wtf/logging"
"github.com/senorprogrammer/wtf/logger"
"github.com/senorprogrammer/wtf/newrelic"
"github.com/senorprogrammer/wtf/opsgenie"
"github.com/senorprogrammer/wtf/power"
Expand Down Expand Up @@ -194,7 +194,7 @@ func addWidget(app *tview.Application, pages *tview.Pages, widgetName string) {
case "jira":
Widgets = append(Widgets, jira.NewWidget())
case "logging":
Widgets = append(Widgets, logging.NewWidget())
Widgets = append(Widgets, logger.NewWidget())
case "newrelic":
Widgets = append(Widgets, newrelic.NewWidget())
case "opsgenie":
Expand Down Expand Up @@ -259,8 +259,6 @@ func main() {
go redrawApp(app)
go watchForConfigChanges(app, flags.Config, display.Grid, pages)

logging.Log("Running!")

if err := app.SetRoot(pages, true).Run(); err != nil {
fmt.Printf("Error: %v\n", err)
os.Exit(1)
Expand Down

0 comments on commit 3309579

Please sign in to comment.