@@ -42,7 +42,7 @@ -(void) logEventWithName:(NSString *)name
42
42
std::string eventName = std::string ([name UTF8String ]);
43
43
EventProperties event (eventName);
44
44
PerformActionWithCppExceptionsCatch (^(void ) {
45
- _wrappedLogger->LogEvent (event);
45
+ self-> _wrappedLogger ->LogEvent (event);
46
46
});
47
47
if ([ODWLogConfiguration enableConsoleLogging ])
48
48
{
@@ -108,7 +108,7 @@ -(void) logEventWithEventProperties: (nonnull ODWEventProperties*) properties
108
108
EventProperties event;
109
109
[self unwrapEventProperties: properties onEvent: event];
110
110
PerformActionWithCppExceptionsCatch (^(void ) {
111
- _wrappedLogger->LogEvent (event);
111
+ self-> _wrappedLogger ->LogEvent (event);
112
112
});
113
113
if ([ODWLogConfiguration enableConsoleLogging ])
114
114
{
@@ -127,7 +127,7 @@ -(void) logFailureWithSignature: (nonnull NSString*) signature
127
127
std::string strDetail = std::string ([detail UTF8String ]);
128
128
129
129
PerformActionWithCppExceptionsCatch (^(void ) {
130
- _wrappedLogger->LogFailure (strSignature, strDetail, event);
130
+ self-> _wrappedLogger ->LogFailure (strSignature, strDetail, event);
131
131
});
132
132
if ([ODWLogConfiguration enableConsoleLogging ])
133
133
{
@@ -150,7 +150,7 @@ -(void) logFailureWithSignature: (nonnull NSString*) signature
150
150
std::string strId = std::string ([identifier UTF8String ]);
151
151
152
152
PerformActionWithCppExceptionsCatch (^(void ) {
153
- _wrappedLogger->LogFailure (strSignature, strDetail, strCategory, strId, event);
153
+ self-> _wrappedLogger ->LogFailure (strSignature, strDetail, strCategory, strId, event);
154
154
});
155
155
if ([ODWLogConfiguration enableConsoleLogging ])
156
156
{
@@ -169,7 +169,7 @@ -(void) logPageViewWithId: (nonnull NSString*) identifier
169
169
std::string strPageName = std::string ([pageName UTF8String ]);
170
170
171
171
PerformActionWithCppExceptionsCatch (^(void ) {
172
- _wrappedLogger->LogPageView (strId, strPageName, event);
172
+ self-> _wrappedLogger ->LogPageView (strId, strPageName, event);
173
173
});
174
174
if ([ODWLogConfiguration enableConsoleLogging ])
175
175
{
@@ -194,7 +194,7 @@ -(void) logPageViewWithId: (nonnull NSString*) identifier
194
194
std::string strReferrerUri = std::string ([referrerUri UTF8String ]);
195
195
196
196
PerformActionWithCppExceptionsCatch (^(void ) {
197
- _wrappedLogger->LogPageView (strId, strPageName, strCategory, strUri, strReferrerUri, event);
197
+ self-> _wrappedLogger ->LogPageView (strId, strPageName, strCategory, strUri, strReferrerUri, event);
198
198
});
199
199
if ([ODWLogConfiguration enableConsoleLogging ])
200
200
{
@@ -212,7 +212,7 @@ -(void) logTraceWithTraceLevel: (enum ODWTraceLevel)traceLevel
212
212
std::string strMessage = std::string ([message UTF8String ]);
213
213
214
214
PerformActionWithCppExceptionsCatch (^(void ) {
215
- _wrappedLogger->LogTrace ((TraceLevel)traceLevel, strMessage, event);
215
+ self-> _wrappedLogger ->LogTrace ((TraceLevel)traceLevel, strMessage, event);
216
216
});
217
217
if ([ODWLogConfiguration enableConsoleLogging ])
218
218
{
@@ -226,7 +226,7 @@ -(void) logSessionWithState: (enum ODWSessionState)state
226
226
EventProperties event;
227
227
[self unwrapEventProperties: properties onEvent: event];
228
228
PerformActionWithCppExceptionsCatch (^(void ) {
229
- _wrappedLogger->LogSession ((SessionState)state, event);
229
+ self-> _wrappedLogger ->LogSession ((SessionState)state, event);
230
230
});
231
231
if ([ODWLogConfiguration enableConsoleLogging ])
232
232
{
@@ -249,7 +249,7 @@ -(void)setContextWithName:(nonnull NSString*)name
249
249
PiiKind contextPiiKind = PiiKind (piiKind);
250
250
251
251
PerformActionWithCppExceptionsCatch (^(void ) {
252
- _wrappedLogger->SetContext (strName, strValue, contextPiiKind);
252
+ self-> _wrappedLogger ->SetContext (strName, strValue, contextPiiKind);
253
253
});
254
254
}
255
255
@@ -268,7 +268,7 @@ -(void)setContextWithName:(nonnull NSString*)name
268
268
PiiKind contextPiiKind = PiiKind (piiKind);
269
269
270
270
PerformActionWithCppExceptionsCatch (^(void ) {
271
- _wrappedLogger->SetContext (strName, boolValue, contextPiiKind);
271
+ self-> _wrappedLogger ->SetContext (strName, boolValue, contextPiiKind);
272
272
});
273
273
}
274
274
@@ -287,7 +287,7 @@ -(void)setContextWithName:(nonnull NSString*)name
287
287
PiiKind contextPiiKind = PiiKind (piiKind);
288
288
289
289
PerformActionWithCppExceptionsCatch (^(void ) {
290
- _wrappedLogger->SetContext (strName, ticks, contextPiiKind);
290
+ self-> _wrappedLogger ->SetContext (strName, ticks, contextPiiKind);
291
291
});
292
292
}
293
293
@@ -305,7 +305,7 @@ -(void)setContextWithName:(nonnull NSString*)name
305
305
PiiKind contextPiiKind = PiiKind (piiKind);
306
306
307
307
PerformActionWithCppExceptionsCatch (^(void ) {
308
- _wrappedLogger->SetContext (strName, value, contextPiiKind);
308
+ self-> _wrappedLogger ->SetContext (strName, value, contextPiiKind);
309
309
});
310
310
}
311
311
@@ -323,7 +323,7 @@ -(void)setContextWithName:(nonnull NSString*)name
323
323
PiiKind contextPiiKind = PiiKind (piiKind);
324
324
325
325
PerformActionWithCppExceptionsCatch (^(void ) {
326
- _wrappedLogger->SetContext (strName, value, contextPiiKind);
326
+ self-> _wrappedLogger ->SetContext (strName, value, contextPiiKind);
327
327
});
328
328
}
329
329
@@ -341,7 +341,7 @@ -(void)setContextWithName:(nonnull NSString*)name
341
341
PiiKind contextPiiKind = PiiKind (piiKind);
342
342
343
343
PerformActionWithCppExceptionsCatch (^(void ) {
344
- _wrappedLogger->SetContext (strName, value, contextPiiKind);
344
+ self-> _wrappedLogger ->SetContext (strName, value, contextPiiKind);
345
345
});
346
346
}
347
347
@@ -360,7 +360,7 @@ -(void)setContextWithName:(nonnull NSString*)name
360
360
GUID_t contextValue = [ODWLogger castNSUUIDToUUID: value];
361
361
362
362
PerformActionWithCppExceptionsCatch (^(void ) {
363
- _wrappedLogger->SetContext (strName, contextValue, contextPiiKind);
363
+ self-> _wrappedLogger ->SetContext (strName, contextValue, contextPiiKind);
364
364
});
365
365
}
366
366
0 commit comments