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
Padding module name #79
Comments
Padding the module name would require to know all possible module names in advance to compute the maximum length of the module string. This is currently not something log (and therefor simplelog) supports. But parsing the module path and just logging the module name could be done. I would accept pull requests adding this feature. |
Isn't passing padding as user input and overflowing if a module name doesn't fit not an option? User will know what's the maximum module length and set padding accordingly |
That could also work, I guess, and would be conceptually very similar to the existing thread padding:
But a I would accept a PR for that proposal (or better in addition to shortening the module path) as well. |
Is it possible to pad module names? Alignment is kinda screwed up (because of different module names) when I log different modules
Sometimes I also don't need full module path. Just module name would be sufficient. Is it possible to customize this?
The text was updated successfully, but these errors were encountered: