Skip to content

设置 SetAsync(), 然后必须要在每个方法最后调用logger.Flush()的问题 #3

@liugh1974

Description

@liugh1974

如果设置为 SetAsync(), 必须在每个方法最后调用logger.Flush().
一般来说,为了性能,最好是设置SetAsync(), 但在每个方法最后调用 logger.Flush(), 这种方式太别扭了。这个如果能改成类似自动批处理的方式,而不用显示的调用,那就比较好了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions