File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11# laravel-log-enhancement
22
33[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE.md )
4- [ ![ CircleCI] ( https://circleci.com/gh/OnrampLab/next-starter .svg?style=shield )] ( )
4+ [ ![ CircleCI] ( https://circleci.com/gh/OnrampLab/laravel-log-enhancement .svg?style=shield )] ( https://circleci.com/gh/OnrampLab/laravel-log-enhancement )
55[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/onramplab/laravel-log-enhancement.svg?style=flat-square )] ( https://packagist.org/packages/onramplab/laravel-log-enhancement )
66
77A library with logging enhancement. Including:
88
9- - ` LogWithClassPath ` trait
10- - It adds convinient methods for logging to add class path into context.
11- - ` LogglyHandler ` class
12- - It extends monolog's LogglyHandler with tags support
9+ - ` LogWithClassPath ` trait
10+ - It adds convinient methods for logging to add class path into context.
11+ - ` LogglyHandler ` class
12+ - It extends monolog's LogglyHandler with tags support
1313
1414## Install
1515
1616``` bash
1717composer require onramplab/laravel-log-enhancement
1818```
1919
20-
2120## Usage
2221
2322### LogWithClassPath Trait
23+
2424Use ` LogWithClassPath ` trait to let it automatically put class path into log context. You can refer to following code example.
2525
2626``` php
@@ -84,7 +84,6 @@ return [
8484
8585```
8686
87-
8887## Testing
8988
9089Run the tests with:
@@ -93,17 +92,14 @@ Run the tests with:
9392vendor/bin/phpunit
9493```
9594
96-
9795## Contributing
9896
9997Please see [ CONTRIBUTING] ( CONTRIBUTING.md ) for details.
10098
101-
10299## Security
103100
104101If you discover any security-related issues, please email kos.huang@onramplab.com instead of using the issue tracker.
105102
106-
107103## License
108104
109105The MIT License (MIT). Please see [ License File] ( /LICENSE.md ) for more information.# laravel-log-enhancement
You can’t perform that action at this time.
0 commit comments