Просмотр исходного кода

Add missing log command to the commands() type

Loïc Hoguin 6 лет назад
Родитель
Сommit
4b65a307f8
1 измененных файлов с 1 добавлено и 0 удалено
  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()}
 	| {switch_protocol, cowboy:http_headers(), module(), state()}
 	| {internal_error, any(), human_reason()}
+	| {log, logger:level(), io:format(), list()}
 	| stop].
 -export_type([commands/0]).