class DJIRemoteLogger
@interface DJIRemoteLogger : NSObject
|
Header: | DJIRemoteLogger.h |
Inherits From: | NSObject |
Description:
This class provides methods to configure and use the remote logger.
Class Members:
class method logWithLevel:file:function:line:string
+ (void)logWithLevel:(DJILogLevel)level file:(const char *)file function:(const char *)function line:(NSUInteger)line string:(NSString *)string
|
Description:
Log with level, file, function, line and string.
DJILogLevel level | An enum value of DJILogLevel . |
const char * file | A const char value. |
const char * function | A const char value. |
NSUInteger line | An NSUInteger value. |
NSString * string | An NSString object. |
class method resetLogger
Description:
Reset remote logger.
class method currentLogLevel
+ (DJILogLevel)currentLogLevel
|
Description:
Returns the current log level.
Return:
class method setCurrentLogLevel
+ (void)setCurrentLogLevel:(DJILogLevel)level
|
Description:
Sets the current level of the remote log.
enum DJILogLevel
typedef NS_ENUM(NSUInteger, DJILogLevel)
|
Description:
The DJI Remote Log levels.
Enum Members:
DJILogLevelOff | Remote Log level off. |
DJILogLevelError | Remote Log level Error. |
DJILogLevelWarn | Remote Log level Warn. |
DJILogLevelDebug | Remote Log level Debug. |
DJILogLevelInfo | Remote Log level Info. |
DJILogLevelVerbose | Remote Log level Verbose. |