nbutton23 / zxcvbn-go

zxcvbn password complexity algorithm in golang
MIT License
379 stars 49 forks source link

Remove global changes to log.flags #13

Closed bjacokes closed 8 years ago

bjacokes commented 8 years ago

log.SetFlags will overwrite the default log flags (i.e. date+time) for anyone who imports this library. I couldn't tell how important it was for you to log the filename – if it was just for some previous debugging, you should be able to remove it; if it's still needed, then I can create a package-wide logger with these flags. Just let me know one way or the other.

Thanks for the package!

nbutton23 commented 8 years ago

Yeah it was for some debugging I was doing