Skip to content

日志信息输出 #1

@fawdlstty

Description

@fawdlstty

也许可以提供一种on_log方法,提供日志回调函数,便于日志记录

http_server _server (1);
_server.on_log ([] (int _errno, const char *_msg) {
    //自己的日志信息存储方式,比如LOG_INFO...
});

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