Xsens DOT iOS SDK  ©2022 Xsens Technologies - Version: 2022.0.0
XsensDotLog.h File Reference
#import <Foundation/Foundation.h>

Go to the source code of this file.

Classes

class  XsensDotLog
 

Macros

#define XSDotSDKLogTitle   @"[XSDotSDK]"
 
#define NSLogObject(obj)   if([XsensDotLog isLogEnable]) { NSLog(@"%@ %@", XSDotSDKLogTitle, obj); }
 
#define NSLogFunction()   if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s", XSDotSDKLogTitle, __FUNCTION__); }
 
#define NSLogFunctionWithInfo(obj)   if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s:%@", XSDotSDKLogTitle, __FUNCTION__, obj); }
 
#define NSLogFunctionFormat(format, args...)   if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s:" format, XSDotSDKLogTitle, __FUNCTION__, args); }
 

Macro Definition Documentation

◆ NSLogFunction

#define NSLogFunction ( )    if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s", XSDotSDKLogTitle, __FUNCTION__); }

◆ NSLogFunctionFormat

#define NSLogFunctionFormat (   format,
  args... 
)    if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s:" format, XSDotSDKLogTitle, __FUNCTION__, args); }

◆ NSLogFunctionWithInfo

#define NSLogFunctionWithInfo (   obj)    if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s:%@", XSDotSDKLogTitle, __FUNCTION__, obj); }

◆ NSLogObject

#define NSLogObject (   obj)    if([XsensDotLog isLogEnable]) { NSLog(@"%@ %@", XSDotSDKLogTitle, obj); }

◆ XSDotSDKLogTitle

#define XSDotSDKLogTitle   @"[XSDotSDK]"