diff --git a/README.md b/README.md index 119e8c2f0..56844c422 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ use Amp\Http\Server\Request; use Amp\Http\Server\Response; use Amp\Http\Status; use Amp\Socket; +use Psr\Log\NullLogger; // Run this script, then visit http://localhost:1337/ in your browser. @@ -56,7 +57,7 @@ Amp\Loop::run(function () { return new Response(Status::OK, [ "content-type" => "text/plain; charset=utf-8" ], "Hello, World!"); - })); + }), new NullLogger); yield $server->start();