Re: [lldb-dev] Logging for multiple targets

2020-11-30 Thread Raphael “Teemperor” Isemann via lldb-dev
Two problems that I can see: * Log depends on no other part of LLDB. But nearly everything in LLDB depends on Log. So if we give Log a Target/ExeCtxt then all of LLDB would now depend on lldbTarget. * IIRC our global log instance is shared between all debuggers/targets. So I'm not sure if adding

[lldb-dev] Logging for multiple targets

2020-11-30 Thread Tatyana Krasnukha via lldb-dev
Hi lldb-dev, Looking at a log produced by multiple targets I hardly can find out which message corresponds to which target. I find a way to distinct them, e.g. by prepending messages with "[target_id]". Putting an id to every message manually is not a choice obviously. What do you think about