remove .gitignore changes and update AddHook

This commit is contained in:
conor 2017-12-21 14:16:49 -05:00
parent 20cc8e2bc3
commit eb156905d7
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ func GetLevel() Level {
// AddHook adds a hook to the standard logger hooks. // AddHook adds a hook to the standard logger hooks.
func AddHook(hook Hook) { func AddHook(hook Hook) {
std.Hooks.Add(hook) std.AddHook(hook)
} }
// WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key. // WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key.