Skip to content

日志输出的秒和毫秒的时间差异问题 #328

@xxuun

Description

@xxuun

项目中时间戳的秒和毫秒部分分别使用 time() 和 gettimeofday() 获取,而这两个函数的结果是有差异的,导致日志中输出的时间会倒退。

参考 time() and gettimeofday() return different seconds

问题日志

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions