diff options
author | Caroline Tice <ctice@apple.com> | 2010-10-29 21:48:37 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2010-10-29 21:48:37 +0000 |
commit | 20ad3c40f4693d446ce69feda59a5e91ca0ea3a3 (patch) | |
tree | 9ee0d6a6ba4718f97a00a3db80890e9490d94d08 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h | |
parent | 4a0c2d73c3092e0a03223a08cdf4eade3fb8f258 (diff) | |
download | llvm-20ad3c40f4693d446ce69feda59a5e91ca0ea3a3.zip llvm-20ad3c40f4693d446ce69feda59a5e91ca0ea3a3.tar.gz llvm-20ad3c40f4693d446ce69feda59a5e91ca0ea3a3.tar.bz2 |
Add the ability to disable individual log categories, rather
than just the entire log channel.
Add checks, where appropriate, to make sure a log channel/category has
not been disabled before attempting to write to it.
llvm-svn: 117715
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h index c053d29..2dbd94f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h @@ -39,8 +39,11 @@ public: GetLogIfAllCategoriesSet(uint32_t mask = 0); static void - DisableLog (); + DisableLog (lldb_private::Args &args, lldb_private::Stream *feedback_strm); + static void + DeleteLog (); + static lldb_private::Log * EnableLog (lldb::StreamSP &log_stream_sp, uint32_t log_options, lldb_private::Args &args, lldb_private::Stream *feedback_strm); |