You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
888 B
26 lines
888 B
// |
|
// 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 */
|
|
|