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

how to change outLine format #7

Open
spritecn opened this issue Jul 13, 2019 · 1 comment
Open

how to change outLine format #7

spritecn opened this issue Jul 13, 2019 · 1 comment

Comments

@spritecn
Copy link

how to change out format:

I: 2019/07/13 22:51:08 log.go:12: ---start-----

i want change it to

2019/07/13 22:51:08 [INFO]  log.go:12: ---start-----

like webServer log

@jbrodriguez
Copy link
Owner

That can't be customized currently.

You can play around with mlog.DefaultFlags, which can be customized via standard go/log flags.

Other than that, I guess it would need code change.

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