[lldb-dev] Enabling logging
Mikhail Sosonkin
mike at nanotick.net
Sat Sep 20 15:05:23 PDT 2014
Hello Developers,
I'm trying to use the LLDB API for some experimentation. It seems that
there are a lot of functions that contain logging statements such as
this:
SBProcess
SBTarget::Launch (SBLaunchInfo &sb_launch_info, SBError& error)
{
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
SBProcess sb_process;
TargetSP target_sp(GetSP());
if (log)
log->Printf ("SBTarget(%p)::Launch (launch_info, error)...",
static_cast<void*>(target_sp.get()));
I'd like to enable them. So far, I've not been able to find anything
in API/* that would let me do that. SBDebugger::EnableLog didn't help.
Would you point me in the right direction, please?
Thanks,
Mike.
More information about the lldb-dev
mailing list