Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samayo committed Jun 28, 2017
1 parent 1e09e81 commit b97dd79
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
## Autolog

A lonely PHP class to help log/send your errors, notifications from your app or from `/var/log/` or as they appear

> (!) this is a slightly polished: lazy weekend-hack/project from some years ago. you know what that means `¯\_(ツ)_/¯`
A PHP class to help log/send your errors, notifications from your app or from `/var/log/` or as they appear

Install
-----
Expand All @@ -13,7 +11,7 @@ $ git clone https://github.com/samayo/autolog.git
```
Using composer
````bash
$ php require samayo/autolog
$ composer require samayo/autolog
````

Usage
Expand Down Expand Up @@ -142,7 +140,7 @@ require __DIR__ . "/src/Logger.php";
"php-fpm.log" => "/var/log/php-fpm/error.log",
"mariadb.log" => "/var/log/mariadb/mariadb.log",
"access.log" => "access.txt",
"email" => "user@example.com"
"email" => "user@example.com"
]))->watch(true);
```
Now, you can set a cronjob that executes the above script every hour then
Expand Down

0 comments on commit b97dd79

Please sign in to comment.