Skip to content

Commit 8126340

Browse files
committed
[lldb] Fix log output and UtilityTests/LogChannelTest.List
I refactored this code in 372691 and it seems I didn't fully replicate the original log output, so that test was failing. llvm-svn: 372696
1 parent 0fcb3af commit 8126340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Utility/Log.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ void Log::ForEachCategory(
4848

4949
void Log::ListCategories(llvm::raw_ostream &stream,
5050
const ChannelMap::value_type &entry) {
51+
stream << llvm::formatv("Logging categories for '{0}':\n", entry.first());
5152
ForEachCategory(entry,
5253
[&stream](llvm::StringRef name, llvm::StringRef description) {
5354
stream << llvm::formatv(" {0} - {1}\n", name, description);

0 commit comments

Comments
 (0)