Skip to content

Comments

server: Add note about RequestLogger to server.New docs#292

Merged
zombiezen merged 3 commits intogoogle:masterfrom
enocom:server-docs
Aug 8, 2018
Merged

server: Add note about RequestLogger to server.New docs#292
zombiezen merged 3 commits intogoogle:masterfrom
enocom:server-docs

Conversation

@enocom
Copy link
Contributor

@enocom enocom commented Aug 7, 2018

A RequestLogger does not log HealthChecks. This commit documents that
fact.

Fixes #155.

A RequestLogger does not log HealthChecks. This commit documents that
fact.

Fixes #155.
@googlebot googlebot added the cla: yes Google CLA has been signed! label Aug 7, 2018
@enocom enocom changed the title Add note about RequestLogger to server.New docs server: Add note about RequestLogger to server.New docs Aug 7, 2018
server/server.go Outdated

// New creates a new server. New(nil) is the same as new(Server).
// New creates a new server. New(nil) is the same as new(Server). Note: A
// configured Requestlogger will not log HealthChecks.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a more appropriate message under ListenAndServe. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both seem fine to me. I'll update.

@enocom
Copy link
Contributor Author

enocom commented Aug 8, 2018

The build failures are a result of vgo changes:

go: go mod -vendor is now go mod vendor

@zombiezen zombiezen merged commit 306fcb9 into google:master Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Google CLA has been signed!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants