Skip to content

Commit

Permalink
Document verbose=-1 kwarg for HTTP.serve (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Apr 5, 2023
1 parent 2e8c99d commit 75c1b25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Supported keyword arguments include:
Not supported on some OS platforms. Can check `HTTP.Servers.supportsreuseaddr()`.
* `server::Base.IOServer=nothing`, provide an `IOServer` object to listen on;
allows manually closing or configuring the server socket.
* `verbose::Bool=false`, log connection information to `stdout`.
* `verbose::Union{Int,Bool}=false`, log connection information to `stdout`. Use `-1`
to also silence the server start and stop logs.
* `access_log::Function`, function for formatting access log messages. The
function should accept two arguments, `io::IO` to which the messages should
be written, and `http::HTTP.Stream` which can be used to query information
Expand Down

0 comments on commit 75c1b25

Please sign in to comment.