From a2fc1e0cc886df429cde9e6ac59ce3fad4419461 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 22 Feb 2017 11:51:12 +0000 Subject: Switch "lldb" log channel to the new registration mechanism llvm-svn: 295823 --- lldb/source/Core/Log.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lldb/source/Core/Log.cpp') 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(); -- cgit v1.2.3