logrus-prefixed-formatter
logrus-prefixed-formatter copied to clipboard
Log file and line
Is therere any possibility to log file and line like
Info = log.New(infoHandle,
"INFO: ",
log.Ldate|log.Ltime|log.Lshortfile)
In standard package log ?
@stgleb No, currently it's not possible with the formatter. Apparently, there's a feature request in logrus. And I'd like to monitor that issue prior to implementing of this feature in formatter. PR is appreciated, however.