From 3189a3cbee8eb9d7ded7605776a75f35e5e2f122 Mon Sep 17 00:00:00 2001 From: Peter Bell Date: Fri, 15 May 2020 03:35:43 +0100 Subject: Update logging code to reduce unnecessary string copying: * Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type --- Tools/NoiseSpeedTest/Globals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Tools/NoiseSpeedTest/Globals.h') diff --git a/Tools/NoiseSpeedTest/Globals.h b/Tools/NoiseSpeedTest/Globals.h index adb74e24d..375573bb4 100644 --- a/Tools/NoiseSpeedTest/Globals.h +++ b/Tools/NoiseSpeedTest/Globals.h @@ -144,6 +144,7 @@ typedef unsigned char Byte; // Common headers (without macros): #include "fmt.h" +#include "LoggerSimple.h" #include "StringUtils.h" #include "OSSupport/CriticalSection.h" #include "OSSupport/Event.h" -- cgit v1.2.3