diff options
author | Pavel Labath <labath@google.com> | 2017-02-22 11:51:12 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-02-22 11:51:12 +0000 |
commit | a2fc1e0cc886df429cde9e6ac59ce3fad4419461 (patch) | |
tree | 921c7b8595c57ab1565cacc88f7a749af2f80845 /lldb/source/Core/Log.cpp | |
parent | a385d2c1b66726ae7ca8960cb84fe3c146110019 (diff) | |
download | bcm5719-llvm-a2fc1e0cc886df429cde9e6ac59ce3fad4419461.tar.gz bcm5719-llvm-a2fc1e0cc886df429cde9e6ac59ce3fad4419461.zip |
Switch "lldb" log channel to the new registration mechanism
llvm-svn: 295823
Diffstat (limited to 'lldb/source/Core/Log.cpp')
-rw-r--r-- | lldb/source/Core/Log.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp index 874b879724d..24d7ce31cd2 100644 --- a/lldb/source/Core/Log.cpp +++ b/lldb/source/Core/Log.cpp @@ -335,13 +335,6 @@ void Log::DisableAllLogChannels(Stream *feedback_strm) { entry.second.channel.Disable(UINT32_MAX); } -void Log::Initialize() { - Log::Callbacks log_callbacks = {DisableLog, EnableLog, ListLogCategories}; - Log::RegisterLogChannel(ConstString("lldb"), log_callbacks); -} - -void Log::Terminate() { DisableAllLogChannels(nullptr); } - void Log::ListAllLogChannels(Stream *strm) { CallbackMap &callback_map = GetCallbackMap(); |