Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 1019 Bytes

README.md

File metadata and controls

68 lines (52 loc) · 1019 Bytes

How to run

1. Make log files

Log files need to be made in advance to run this applications.

.
├── 1.initial
│   ├── main.php
│   └── test.log
├── 2.anonymous-function
│   ├── lib
│   │   └── Tail.php
│   ├── main.php
│   └── test.log
├── 3.interface
│   ├── lib
│   │   ├── RecordHandler.php
│   │   ├── SlackRecordHandler.php
│   │   └── Tail.php
│   ├── main.php
│   └── test.log
├── 4.inheritance
│   ├── lib
│   │   ├── SlackTail.php
│   │   └── Tail.php
│   ├── main.php
│   └── test.log
└── README.md

2. Change directory

$ cd 1.initial

or

$ cd 2.anonymous-function 

or

$ cd 3.inheritance

or

$ cd 4.interface

3. Run application.

$ php main.php

4. Add a text to log file.

$ echo Hello, World >> test.log