高德地图SDK(导航) V11.2.1501
Loading...
Searching...
No Matches
AMapNaviLogger Class Reference

#include <AMapNaviLogger.h>

Inheritance diagram for AMapNaviLogger:

Instance Methods

(void) - setLogDelegate:
 
(void) - onNaviLog:logContent:
 

Class Methods

(instancetype) + shareInstance
 
(void) + setFullLinkLogBlock:
 
(void) + clearFullLinkLogBlock
 

Method Documentation

◆ clearFullLinkLogBlock

+ (void) clearFullLinkLogBlock

清除全链路日志回调(全局单例,若不用需调用此方法) Clear the full-link log callback. (global singleton, call this method if not needed). Clear the full link log callback (global singleton, if not needed, call this method) Clear the full-link log callback. (global singleton, call this method if not needed).

◆ onNaviLog:logContent:

- (void) onNaviLog: (AMapNaviLogLevel logLevel
logContent: (NSString *)  logContent
, (2) 
(3)  NS_FORMAT_FUNCTION 

◆ setFullLinkLogBlock:

+ (void) setFullLinkLogBlock: (AMapNaviFullLinkLogBlock _Nonnull)  block

设置全链路日志回调(全局单例,只需要设置1次,不要重复设置,重复设置会覆盖) Set full-link log callback. Set full link log callback (global singleton, only need to be set once, do not set repeatedly, repeated settings will overwrite) 建议放在全局类中调用,如Appdelegate中 It is recommended to call it in a global class, such as Appdelegate

◆ setLogDelegate:

- (void) setLogDelegate: (id< AMapNaviLoggerProtocol >)  delegate

设置日志代理,用于获取 SDK 内部日志,重复设置会覆盖 Set up a log proxy to retrieve internal SDK logs, repeated settings will overwrite

◆ shareInstance

+ (instancetype) shareInstance

The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。