-
-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
1 / 11 of 1 issue completedClosed
1 / 11 of 1 issue completed
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
I would really liked it if those features were implemented:
- Omit function parameters, only print the namespace/name
- Add source base dir.
So it does not printD:\Programming\GitHub\Project\src\stuff\abc\main.c
But rathersrc\stuff\abc\main.c - Omit std functions
Maybe add a struct of all those settings to the print() method.
Depending on how fancy those settings should be definable you can do something like this
// default settings
cpptrace::generate_trace().print();
// custom settings
auto base_dir = cpptrace::current_file("../../.."); //?
cpptrace::generate_trace().print(
cpptrace::trace_print_settings()
.set_output(std::cout)
.set_color(false)
.set_project_dir(base_dir)
.set_omit_out_of_project_functions(true)
);
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
