Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file and line #11

Open
stgleb opened this issue Apr 4, 2017 · 1 comment
Open

Log file and line #11

stgleb opened this issue Apr 4, 2017 · 1 comment

Comments

@stgleb
Copy link

stgleb commented Apr 4, 2017

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 ?

@x-cray
Copy link
Owner

x-cray commented Apr 19, 2017

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants