Commit fa458351 authored by Aaron Raddon's avatar Aaron Raddon

cleanup doc

parent 29005518
...@@ -96,7 +96,7 @@ func SetCustomLogger(cl LoggerCustom) { ...@@ -96,7 +96,7 @@ func SetCustomLogger(cl LoggerCustom) {
customLogger = cl customLogger = cl
} }
// GetRus returns the logrus logger if initialized // GetCustomLogger returns the custom logger if initialized
func GetCustomLogger() LoggerCustom { func GetCustomLogger() LoggerCustom {
return customLogger return customLogger
} }
...@@ -535,6 +535,7 @@ func DoLog(depth, logLvl int, msg string) { ...@@ -535,6 +535,7 @@ func DoLog(depth, logLvl int, msg string) {
// DoLogFields allows the inclusion of additional context for logrus logs // DoLogFields allows the inclusion of additional context for logrus logs
// file and line number are included in the fields by default // file and line number are included in the fields by default
func DoLogFields(depth, logLvl int, msg string, fields map[string]interface{}) { func DoLogFields(depth, logLvl int, msg string, fields map[string]interface{}) {
if escapeNewlines { if escapeNewlines {
msg = EscapeNewlines(msg) msg = EscapeNewlines(msg)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment