diff --git a/App.php b/App.php index 3f9f557..50fc3b7 100644 --- a/App.php +++ b/App.php @@ -24,7 +24,7 @@ class App extends Worker * * @var string */ - const VERSION = '0.2.9'; + const VERSION = '0.3.0'; private $conn = false; private $map = array(); diff --git a/README.md b/README.md index fd40df1..688873f 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,8 @@ $app->on404 = function() { $this->ServerHtml("我的404"); }; +//访问日志 +Worker::$stdoutFile = './stdout.log'; // Run worker Worker::runAll();