aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-08-06 13:31:44 +0200
committerLoïc Hoguin <[email protected]>2018-08-06 13:31:44 +0200
commit4b65a307f8eb130a17c7000d95831f4d9f062e57 (patch)
tree9a5281a4c71420147ae1f602c1f4549d5cae08e4 /src
parent2577068bf29b93673083ea35ed743bdb48c0887b (diff)
downloadcowboy-4b65a307f8eb130a17c7000d95831f4d9f062e57.tar.gz
cowboy-4b65a307f8eb130a17c7000d95831f4d9f062e57.tar.bz2
cowboy-4b65a307f8eb130a17c7000d95831f4d9f062e57.zip
Add missing log command to the commands() type
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_stream.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl
index 6776863..b0b570e 100644
--- a/src/cowboy_stream.erl
+++ b/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]).