Blame view

HDFwear/3rd/RTKOTASDK/RTKLEFoundation.framework/Headers/RTKLELogMacros.h 888 Bytes
75d24c15   yangbin   123
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  //
  //  RTKLELogMacros.h
  //  RTKLEFoundation
  //
  //  Created by jerome_gu on 2019/1/8.
  //  Copyright © 2019 Realtek. All rights reserved.
  //
  
  #ifndef RTKLELogMacros_h
  #define RTKLELogMacros_h
  
  #ifdef RTK_SDK_IS_STATIC_LIBRARY
  #import "RTKLog.h"
  #else
  #import <RTKLEFoundation/RTKLog.h>
  #endif
  
  
  // Handy Macros for print log to RTKLog facility.
  #define RTKLogError(fmt, ...)   [RTKLog _logWithLevel:RTKLogLevelError format: (fmt), ## __VA_ARGS__]
  #define RTKLogWarn(fmt, ...)    [RTKLog _logWithLevel:RTKLogLevelWarning format: (fmt), ## __VA_ARGS__]
  #define RTKLogInfo(fmt, ...)    [RTKLog _logWithLevel:RTKLogLevelInfo format: (fmt), ## __VA_ARGS__]
  #define RTKLogDebug(fmt, ...)   [RTKLog _logWithLevel:RTKLogLevelDebug format: (fmt), ## __VA_ARGS__]
  #define RTKLogVerbose(fmt, ...) [RTKLog _logWithLevel:RTKLogLevelVerbose format: (fmt), ## __VA_ARGS__]
  
  #endif /* RTKLELogMacros_h */