DJIRemoteLogger
@interface DJIRemoteLogger : NSObject
This class provides methods for you to get information about the current log level. It also contains methods to configure the logger.
-
Returns the current Log level.
Declaration
Objective-C
+ (DJILogLevel)currentLogLevel;
-
Set the current level of remote log
Declaration
Objective-C
+ (void)setCurrentLogLevel:(DJILogLevel)level;
-
Preferred method to configure the logger
Declaration
Objective-C
+ (void)configureLoggerWithDeviceId:(NSString *)deviceID URLString:(NSString *)urlString showLogInConsole:(BOOL)showLogInConsole;
-
Reset Remote Logger
Declaration
Objective-C
+ (void)resetLogger;
-
Log with level, file, function, line and format.
Declaration
Objective-C
+ (void)logWithLevel:(DJILogLevel)level file:(const char *)file function:(const char *)function line:(NSUInteger)line format:(NSString *)format, ...;
-
Log with level, file, function, line and string.
Declaration
Objective-C
+ (void)logWithLevel:(DJILogLevel)level file:(const char *)file function:(const char *)function line:(NSUInteger)line string:(NSString *)string;