Commit fa458351 authored by Aaron Raddon's avatar Aaron Raddon

cleanup doc

parent 29005518
......@@ -96,7 +96,7 @@ func SetCustomLogger(cl LoggerCustom) {
customLogger = cl
}
// GetRus returns the logrus logger if initialized
// GetCustomLogger returns the custom logger if initialized
func GetCustomLogger() LoggerCustom {
return customLogger
}
......@@ -535,6 +535,7 @@ func DoLog(depth, logLvl int, msg string) {
// DoLogFields allows the inclusion of additional context for logrus logs
// file and line number are included in the fields by default
func DoLogFields(depth, logLvl int, msg string, fields map[string]interface{}) {
if escapeNewlines {
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