diff --git a/lib/include/public/LogManagerBase.hpp b/lib/include/public/LogManagerBase.hpp index 838002b93..b9ffdefca 100644 --- a/lib/include/public/LogManagerBase.hpp +++ b/lib/include/public/LogManagerBase.hpp @@ -132,22 +132,22 @@ namespace MAT_NS_BEGIN /// /// LogManagerBase constructor /// - LogManagerBase(){}; + LogManagerBase(){} /// /// LogManager copy constructor /// - LogManagerBase(const LogManagerBase&){}; + LogManagerBase(const LogManagerBase&){} /// /// [not implemented] LogManager assignment operator /// - LogManagerBase& operator=(const LogManagerBase&){}; + LogManagerBase& operator=(const LogManagerBase&){} /// /// LogManager destructor /// - virtual ~LogManagerBase(){}; + virtual ~LogManagerBase(){} #ifndef _MANAGED /// @@ -418,7 +418,7 @@ namespace MAT_NS_BEGIN /// Get profile name based on built-in profile enum /// Transmit profile static std::string GetTransmitProfileName() - LM_SAFE_CALL_STR(GetTransmitProfileName); + LM_SAFE_CALL_STR(GetTransmitProfileName) /// /// Retrieve an ISemanticContext interface through which to specify context information @@ -428,7 +428,7 @@ namespace MAT_NS_BEGIN /// /// ISemanticContext interface pointer static ISemanticContext* GetSemanticContext() - LM_SAFE_CALL_PTRREF(GetSemanticContext); + LM_SAFE_CALL_PTRREF(GetSemanticContext) /// /// Adds or overrides a property of the custom context for the telemetry logging system. @@ -439,7 +439,7 @@ namespace MAT_NS_BEGIN /// Value of the context property /// PIIKind of the context with PiiKind_None as the default static status_t SetContext(const std::string& name, const std::string& value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, value, piiKind); + LM_SAFE_CALL(SetContext, name, value, piiKind) /// /// Adds or overrides a property of the custom context for the telemetry logging system. @@ -450,7 +450,7 @@ namespace MAT_NS_BEGIN /// Value of the context property /// PIIKind of the context with PiiKind_None as the default static status_t SetContext(const std::string& name, const char* value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, std::string(value), piiKind); + LM_SAFE_CALL(SetContext, name, std::string(value), piiKind) /// /// Adds or overrides a property of the global context. @@ -458,7 +458,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// Double value of the property static status_t SetContext(const std::string& name, double value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, value, piiKind); + LM_SAFE_CALL(SetContext, name, value, piiKind) /// /// Adds or overrides a property of the global context. @@ -466,7 +466,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 64-bit Integer value of the property static status_t SetContext(const std::string& name, int64_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, value, piiKind); + LM_SAFE_CALL(SetContext, name, value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -475,7 +475,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 8-bit Integer value of the property static status_t SetContext(const std::string& name, int8_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -484,7 +484,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 16-bit Integer value of the property static status_t SetContext(const std::string& name, int16_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -493,7 +493,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 32-bit Integer value of the property static status_t SetContext(const std::string& name, int32_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -502,7 +502,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 8-bit unsigned integer value of the property static status_t SetContext(const std::string& name, uint8_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -511,7 +511,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 16-bit unsigned integer value of the property static status_t SetContext(const std::string& name, uint16_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -520,7 +520,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 32-bit unsigned integer value of the property static status_t SetContext(const std::string& name, uint32_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context.
@@ -529,7 +529,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// 64-bit unsigned integer value of the property static status_t SetContext(const std::string& name, uint64_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind); + LM_SAFE_CALL(SetContext, name, (int64_t)value, piiKind) /// /// Adds or overrides a property of the global context. @@ -537,7 +537,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// Boolean value of the property static status_t SetContext(const std::string& name, bool value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, value, piiKind); + LM_SAFE_CALL(SetContext, name, value, piiKind) /// /// Adds or overrides a property of the global context. @@ -545,7 +545,7 @@ namespace MAT_NS_BEGIN /// Name of the property /// .NET time ticks static status_t SetContext(const std::string& name, time_ticks_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, value, piiKind); + LM_SAFE_CALL(SetContext, name, value, piiKind) /// /// Adds or overrides a property of the global context. @@ -553,14 +553,14 @@ namespace MAT_NS_BEGIN /// Name of the property /// GUID static status_t SetContext(const std::string& name, GUID_t value, PiiKind piiKind = PiiKind_None) - LM_SAFE_CALL(SetContext, name, value, piiKind); + LM_SAFE_CALL(SetContext, name, value, piiKind) /// /// Retrieves the ILogger interface of a Logger instance through which to log telemetry event. /// /// Pointer to the Ilogger interface of an logger instance static ILogger* GetLogger() - LM_SAFE_CALL_PTR(GetLogger, GetPrimaryToken()); + LM_SAFE_CALL_PTR(GetLogger, GetPrimaryToken()) /// /// Retrieves the ILogger interface of a Logger instance through which to log telemetry event. @@ -568,7 +568,7 @@ namespace MAT_NS_BEGIN /// Source name of events sent by this logger instance /// Pointer to the Ilogger interface of the logger instance static ILogger* GetLogger(const std::string& source) - LM_SAFE_CALL_PTR(GetLogger, GetPrimaryToken(), source); + LM_SAFE_CALL_PTR(GetLogger, GetPrimaryToken(), source) /// /// Retrieves the ILogger interface of a Logger instance through which to log telemetry event. @@ -577,13 +577,13 @@ namespace MAT_NS_BEGIN /// Source name of events sent by this logger instance /// Pointer to the Ilogger interface of the logger instance static ILogger* GetLogger(const std::string& tenantToken, const std::string& source) - LM_SAFE_CALL_PTR(GetLogger, tenantToken, source); + LM_SAFE_CALL_PTR(GetLogger, tenantToken, source) /// /// Get Auth token controller /// static IAuthTokensController* GetAuthTokensController() - LM_SAFE_CALL_PTR(GetAuthTokensController); + LM_SAFE_CALL_PTR(GetAuthTokensController) /// ///Sets the ticket token with a value @@ -653,7 +653,7 @@ namespace MAT_NS_BEGIN /// /// The log session data in a pointer to a LogSessionData object. static LogSessionData* GetLogSessionData() - LM_SAFE_CALL_PTR(GetLogSessionData); + LM_SAFE_CALL_PTR(GetLogSessionData) /// /// Sets the diagnostic level filter for the LogManager @@ -662,7 +662,7 @@ namespace MAT_NS_BEGIN /// Minimum level to be sent /// Maximum level to be sent static void SetLevelFilter(uint8_t defaultLevel, uint8_t levelMin, uint8_t levelMax) - LM_SAFE_CALL_VOID(SetLevelFilter, defaultLevel, levelMin, levelMax); + LM_SAFE_CALL_VOID(SetLevelFilter, defaultLevel, levelMin, levelMax) /// /// Sets the diagnostic level filter for the LogManager @@ -670,7 +670,7 @@ namespace MAT_NS_BEGIN /// Diagnostic level for the LogManager /// Set with levels that are allowed to be sent static void SetLevelFilter(uint8_t defaultLevel, const std::set& allowedLevels) - LM_SAFE_CALL_VOID(SetLevelFilter, defaultLevel, allowedLevels); + LM_SAFE_CALL_VOID(SetLevelFilter, defaultLevel, allowedLevels) static ILogController* GetController() { @@ -686,7 +686,7 @@ namespace MAT_NS_BEGIN /// Reserved for future use to notify SDK about ILogConfiguration & contents change. /// static status_t Configure() - LM_SAFE_CALL(Configure); + LM_SAFE_CALL(Configure) /// /// Obtain data viewer collection associated with this LogManager instance.