Browse Source

Add missing log command to the commands() type

Loïc Hoguin 6 years ago
parent
commit
4b65a307f8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/cowboy_stream.erl

+ 1 - 0
src/cowboy_stream.erl

@@ -41,6 +41,7 @@
 	| {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()}
 	| {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()}
 	| {switch_protocol, cowboy:http_headers(), module(), state()}
 	| {switch_protocol, cowboy:http_headers(), module(), state()}
 	| {internal_error, any(), human_reason()}
 	| {internal_error, any(), human_reason()}
+	| {log, logger:level(), io:format(), list()}
 	| stop].
 	| stop].
 -export_type([commands/0]).
 -export_type([commands/0]).