wolf2009 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Add feature to add prefix to dump file #601

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using just a path to generate dumps you cannot tell what the source of the 
dumpfile is from looking at the files. It would be nice to add a prefix option 
with the MinidumpDescriptor instantiation so dump can have a fixed portion of 
the dump filename configurable.

Something like:
google_breakpad::MinidumpDescriptor descriptor(get_tmp_dir(), "mydump-");
which gives
/tmp/mydump-47e675de-e3ca-a9e7-51f829b5-525b80c5.dmp
rather than
/tmp/47e675de-e3ca-a9e7-51f829b5-525b80c5.dmp

particularly useful when you have multiple apps generating dumps in the same 
folder.

Original issue reported on code.google.com by dgeorges...@gmail.com on 11 Jul 2014 at 1:59