DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
LoggerBase.cpp File Reference
#include "pch.h"
#include "Extensions/Logging/LoggerBase.h"
#include "System/Diagnostics/Process.h"
#include "System/Threading/Thread.h"
#include "System/Text/Json/JsonElement.h"
#include <chrono>
#include <iomanip>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  DotNetDupe
namespace  DotNetDupe::Extensions
namespace  DotNetDupe::Extensions::Logging

Functions

static void DotNetDupe::Extensions::Logging::AddJsonLogProperties (DotNetDupe::System::Text::Json::JsonElement &logObj, const DotNetDupe::System::Collections::Generic::Dictionary< DotNetDupe::System::String, DotNetDupe::System::String > &properties)
static DotNetDupe::System::String DotNetDupe::Extensions::Logging::BuildJsonLog (const DotNetDupe::System::String &timestamp, const char *level, const DotNetDupe::System::String &category, int procId, unsigned long threadId, const DotNetDupe::System::String &message, const DotNetDupe::System::Collections::Generic::Dictionary< DotNetDupe::System::String, DotNetDupe::System::String > &properties)
static void DotNetDupe::Extensions::Logging::ReplaceDynamicPropertyTokens (std::string &str, const DotNetDupe::System::Collections::Generic::Dictionary< DotNetDupe::System::String, DotNetDupe::System::String > &properties, std::vector< std::string > &usedKeys)
static void DotNetDupe::Extensions::Logging::ReplaceToken (std::string &str, const std::string &from, const char *to)
static std::string DotNetDupe::Extensions::Logging::SerializeUnusedPropertiesText (const DotNetDupe::System::Collections::Generic::Dictionary< DotNetDupe::System::String, DotNetDupe::System::String > &properties, const std::vector< std::string > &usedKeys)