9 #import <Foundation/Foundation.h>
11 NS_ASSUME_NONNULL_BEGIN
13 #ifndef XSDotSDKLogTitle
14 #define XSDotSDKLogTitle @"[XSDotSDK]"
22 #define NSLogObject(obj) NSLog(@"%@", obj)
23 #define NSLogFunction() NSLog(@"%s", __FUNCTION__)
24 #define NSLogFunctionWithInfo(obj) NSLog(@"%s:%@", __FUNCTION__, obj)
25 #define NSLogFunctionFormat(format, args...) NSLog(@"%s:" format, __FUNCTION__, args)
27 #define NSLogObject(obj) if([XsensDotLog isLogEnable]) { NSLog(@"%@ %@", XSDotSDKLogTitle, obj); }
28 #define NSLogFunction() if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s", XSDotSDKLogTitle, __FUNCTION__); }
29 #define NSLogFunctionWithInfo(obj) if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s:%@", XSDotSDKLogTitle, __FUNCTION__, obj); }
30 #define NSLogFunctionFormat(format, args...) if([XsensDotLog isLogEnable]) { NSLog(@"%@ %s:" format, XSDotSDKLogTitle, __FUNCTION__, args); }
43 + (void)setLogEnable:(BOOL)enable;
Definition: XsensDotLog.h:38