高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Instance Methods | Class Methods | List of all members
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
| 清除全链路日志回调（全局单例，若不用需调用此方法) Clear the full-link log callback. (global singleton, call this method if not needed).

## Method Documentation

## ◆ clearFullLinkLogBlock

+ (void) clearFullLinkLogBlock |  |  |

清除全链路日志回调（全局单例，若不用需调用此方法) 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. 建议放在全局类中调用，如Appdelegate中

## ◆ setLogDelegate:

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

设置日志代理，用于获取 SDK 内部日志，重复设置会覆盖

## ◆ shareInstance

+ (instancetype) shareInstance |  |  |

The documentation for this class was generated from the following file:

- AMapNaviLogger.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。