Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安卓端调用log.setLogTime无效。 #84

Closed
WoKee opened this issue Dec 1, 2022 · 1 comment
Closed

安卓端调用log.setLogTime无效。 #84

WoKee opened this issue Dec 1, 2022 · 1 comment

Comments

@WoKee
Copy link

WoKee commented Dec 1, 2022

组装日志时,手动调用log.setLogTime(),后台查看上传时间没有按照预期时间生成。

/**
 * This method will be removed in future version.
 * Set the __time__ field. Do not call this method for set __time__ field, this may case data lost.
 *
 * @param logTime time in second
 */
@Deprecated
public void setLogTime(long logTime) {
    this.logTime = logTime;
}
@cnbleu
Copy link
Collaborator

cnbleu commented Jan 30, 2023

setLogTime这个方法已经置为Deprecated,未来会移除掉。不建议调用该方法,SDK内部会自动对logTime进行校正。

@cnbleu cnbleu closed this as completed Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants