Skip to content

Commit a20dfd4

Browse files
luizcmarinvjik
andauthored
Update file (#70)
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent 760fd13 commit a20dfd4

5 files changed

Lines changed: 23 additions & 46 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Yii Log - File Target Change Log
1+
# Yii Logging Library - File Target Change Log
22

33
## 3.0.1 under development
44

LICENSE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions
66
are met:
77

8-
* Redistributions of source code must retain the above copyright
8+
* Redistributions of source code must retain the above copyright
99
notice, this list of conditions and the following disclaimer.
10-
* Redistributions in binary form must reproduce the above copyright
10+
* Redistributions in binary form must reproduce the above copyright
1111
notice, this list of conditions and the following disclaimer in
1212
the documentation and/or other materials provided with the
1313
distribution.
14-
* Neither the name of Yii Software nor the names of its
14+
* Neither the name of Yii Software nor the names of its
1515
contributors may be used to endorse or promote products derived
1616
from this software without specific prior written permission.
1717

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ This package provides the File target for the [yiisoft/log](https://github.com/y
2727

2828
## Installation
2929

30-
The package could be installed with composer:
30+
The package could be installed with [Composer](https://getcomposer.org):
3131

3232
```shell
33-
composer require yiisoft/log-target-file --prefer-dist
33+
composer require yiisoft/log-target-file
3434
```
3535

3636
## General usage
@@ -74,19 +74,27 @@ Creating a logger:
7474
$logger = new \Yiisoft\Log\Logger([$fileTarget]);
7575
```
7676

77-
## Documentation
77+
For use in the [Yii framework](https://www.yiiframework.com/), see the configuration files:
78+
- [`config/di.php`](https://github.com/yiisoft/log-target-file/blob/master/config/di.php)
79+
- [`config/params.php`](https://github.com/yiisoft/log-target-file/blob/master/config/params.php)
7880

79-
- [Read the guides here](docs/README.md)
81+
## Documentation
8082

81-
Testing:
83+
For a description of using the logger, see the [yiisoft/log](https://github.com/yiisoft/log) package.
8284

85+
- [Yii guide to logging](https://github.com/yiisoft/docs/blob/master/guide/en/runtime/logging.md)
8386
- [Internals](docs/internals.md)
8487

85-
## Support
86-
8788
If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
8889
You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).
8990

91+
## License
92+
93+
The Yii Logging Library - File Target is free software. It is released under the terms of the BSD License.
94+
Please see [`LICENSE`](./LICENSE.md) for more information.
95+
96+
Maintained by [Yii Software](https://www.yiiframework.com/).
97+
9098
## Support the project
9199

92100
[![Open Collective](https://img.shields.io/badge/Open%20Collective-sponsor-7eadf1?logo=open%20collective&logoColor=7eadf1&labelColor=555555)](https://opencollective.com/yiisoft)
@@ -98,10 +106,3 @@ You may also check out other [Yii Community Resources](https://www.yiiframework.
98106
[![Telegram](https://img.shields.io/badge/telegram-join-1DA1F2?style=flat&logo=telegram)](https://t.me/yii3en)
99107
[![Facebook](https://img.shields.io/badge/facebook-join-1DA1F2?style=flat&logo=facebook&logoColor=ffffff)](https://www.facebook.com/groups/yiitalk)
100108
[![Slack](https://img.shields.io/badge/slack-join-1DA1F2?style=flat&logo=slack)](https://yiiframework.com/go/slack)
101-
102-
## License
103-
104-
The Yii Logging Library - File Target is free software. It is released under the terms of the BSD License.
105-
Please see [`LICENSE`](./LICENSE.md) for more information.
106-
107-
Maintained by [Yii Software](https://www.yiiframework.com/).

docs/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/internals.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The code is statically analyzed with [Psalm](https://psalm.dev/). To run static
2525
./vendor/bin/psalm
2626
```
2727

28-
## Rector
28+
## Code style
2929

3030
Use [Rector](https://github.com/rectorphp/rector) to make codebase follow some specific rules or
3131
use either newest or any specific version of PHP:
@@ -34,11 +34,10 @@ use either newest or any specific version of PHP:
3434
./vendor/bin/rector
3535
```
3636

37-
## Composer require checker
37+
## Dependencies
3838

39-
This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if all dependencies are correctly defined in `composer.json`.
40-
41-
To run the checker, execute the following command:
39+
This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if
40+
all dependencies are correctly defined in `composer.json`. To run the checker, execute the following command:
4241

4342
```shell
4443
./vendor/bin/composer-require-checker

0 commit comments

Comments
 (0)