Gitea v1.21.1 中文文档记录器,单个逗号表示它将使用上述默认 MODE logger.xorm.MODE : ,: “xorm” 记录器 ACCESS_LOG_TEMPLATE : {{.Ctx.RemoteHost}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} " {{.Ctx.Req.Method}} {{.Ctx.Req.URL.RequestURI}} Req.Referer}}" "{{.Ctx.Req.UserAgent}}" : 设置用于创建访问日志的模板。 可用以下变量: Ctx : 请求的 context.Context 。 Identity : 登录的 SignedUserName 或 "-" (如果未登录)。 Start : 请求的开始时间。 ResponseWriter : 请求的 responseWriter。 级别记录,将此日志记录器的 LEVEL 设置为 WARN 或更高级别将导致 不记录访问日志。 此值表示一个 Go 模板。其默认值为 1. {{.Ctx.RemoteHost}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.URL.RequestURI}}0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Installing on macOS Installing on Windows Installing from Source First-Time Git Setup Your Identity Your Editor Your default branch name Checking Your Settings Getting Help Summary Git Basics of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user name and email address Many of the GUI tools will help you do this when you first run them. Your Editor Now that your identity is set up, you can configure the default text editor that will be used when Git needs you to type0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Installing on macOS Installing on Windows Installing from Source First-Time Git Setup Your Identity Your Editor Your default branch name Checking Your Settings Getting Help Summary Git Basics of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user name and email address Many of the GUI tools will help you do this when you first run them. Your Editor Now that your identity is set up, you can configure the default text editor that will be used when Git needs you to type0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user name and email address. Many of the GUI tools will help you do this when you first run them. Your Editor Now that your identity is set up, you can configure the default text editor that will be used when Git needs you to type You should also now have a working version of Git on your system that’s set up with your personal identity. It’s now time to learn some Git basics. 25 Git Basics If you can read only one chapter to get0 码力 | 501 页 | 17.96 MB | 1 年前3
共 4 条
- 1













