aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-10-29 21:48:37 +0000
committerCaroline Tice <ctice@apple.com>2010-10-29 21:48:37 +0000
commit20ad3c40f4693d446ce69feda59a5e91ca0ea3a3 (patch)
tree9ee0d6a6ba4718f97a00a3db80890e9490d94d08 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h
parent4a0c2d73c3092e0a03223a08cdf4eade3fb8f258 (diff)
downloadllvm-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.h5
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);