| 37 | |
| 38 | |
| 39 | void Logs::SetDump(const char* name) { |
| 40 | std::lock_guard<std::mutex> lock(_Mutex); |
| 41 | if (!name) |
| 42 | _PDump.reset(); |
| 43 | else |
| 44 | _PDump.reset(new string(name)); |
| 45 | } |
| 46 | |
| 47 | void Logs::Dump(const string& header, const UInt8* data, UInt32 size) { |
| 48 | Buffer out; |