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

Feature request/suggestion: Customizable prefix #217

Open
lethal-guitar opened this issue May 1, 2022 · 0 comments
Open

Feature request/suggestion: Customizable prefix #217

lethal-guitar opened this issue May 1, 2022 · 0 comments

Comments

@lethal-guitar
Copy link

lethal-guitar commented May 1, 2022

I've just discovered this library, and I like it quite a lot, especially the lightweight header file design is really great! I was wondering if you'd consider making the prefix somewhat customizable? Concretely, in my application I don't need thread name and uptime, so it would be nice if it was possible to disable individual elements of the prefix.

So for example, having boolean flags in the options passed to loguru::init to turn each type of prefix on/off.

I could use RAW_LOG_F, but then I'd lose all the other prefixes - I'd still like to have date, time file name etc.

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

1 participant