package
Version:
v7.0.0-...-8ac4b21
Opens a new window with list of versions in this module.
Published: Oct 16, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New 记录 API 访问日志
l 输出方法;
format 表示记录的格式,接受三个参数,分别为状态码、请求方法和请求地址,
默认使用 "[%d] %s\t%s\n",可以使用 fmt.Sprintf 的顺序标记作调整;
Source Files
¶
Click to show internal directories.
Click to hide internal directories.