summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-02-01 11:35:10 -0500
committerPeter LaFosse <peter@vector35.com>2022-03-16 08:05:27 -0400
commit5ce116e4d1d3c30537f3635c06d7a0c619e55e43 (patch)
treedd96aa9d6b55b26dd247cd0b7e4d0bdfc6a15681 /binaryview.cpp
parentefb5d8ba056fbae3f57a80f813a18c4a6da60f28 (diff)
Add support for structured logging
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index ba812919..541c6ca9 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -3769,6 +3769,12 @@ Confidence<Ref<Type>> BinaryView::CreateStructureMemberFromAccess(const Qualifie
}
+Ref<Logger> BinaryView::CreateLogger(const string& name)
+{
+ return LogRegistry::CreateLogger(name, GetFile()->GetSessionId());
+}
+
+
Relocation::Relocation(BNRelocation* reloc)
{
m_object = reloc;