Skip to content

Commit

Permalink
Merge pull request #2 from uniplaces/NI/add-rfc3164-compliance
Browse files Browse the repository at this point in the history
[RFC][NI] Add RFC3164 compliance
  • Loading branch information
mumia authored Jan 31, 2018
2 parents 9c5447a + 6774bcf commit df1974f
Show file tree
Hide file tree
Showing 239 changed files with 63 additions and 120,415 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
.vscode/

.idea

vendor/
34 changes: 0 additions & 34 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

50 changes: 50 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[[constraint]]
name = "github.com/uniplaces/logrus"
revision = "e3e67f834921ddd1bb3ef5594e139d631899e11d"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.2.0"
6 changes: 4 additions & 2 deletions internal/logrus.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"runtime"
"strings"

"github.com/Sirupsen/logrus"
"github.com/uniplaces/logrus"
)

// defines which levels log stack trace
Expand Down Expand Up @@ -37,7 +37,9 @@ func NewLogrusLogger(level string, writer io.Writer) logrusLogger {
Logger: logrus.New(),
}

instance.Formatter = &logrus.JSONFormatter{}
instance.Formatter = &logrus.JSONFormatter{
EnableIntLogLevels:true,
}
instance.Level = logrusLevel
instance.Out = writer

Expand Down
1 change: 0 additions & 1 deletion vendor/github.com/Sirupsen/logrus/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/github.com/Sirupsen/logrus/.travis.yml

This file was deleted.

66 changes: 0 additions & 66 deletions vendor/github.com/Sirupsen/logrus/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/Sirupsen/logrus/LICENSE

This file was deleted.

Loading

0 comments on commit df1974f

Please sign in to comment.