Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lefuturiste/logmanager
Generate log quickly and easily with time, level of warning and client IP
https://github.com/lefuturiste/logmanager
Last synced: 4 days ago
JSON representation
Generate log quickly and easily with time, level of warning and client IP
- Host: GitHub
- URL: https://github.com/lefuturiste/logmanager
- Owner: lefuturiste
- Created: 2017-03-08T13:13:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-30T09:22:24.000Z (about 7 years ago)
- Last Synced: 2024-04-21T03:50:06.783Z (7 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# logmanager
Generate log quickly and easily with time, level of warning and client-------------------------------------------------
### Dependecies
- PHP >= 5.3
-------------------------------------------------
## 1. Installing
Easy install via composer. Still no idea what composer is? Inform yourself [here](http://getcomposer.org).
```composer require lefuturiste/logmanager```
-------------------------------------------------
## 2. Examples
```php
info('Your log info message');//Generate log of error level
$log->error('Your log error message');//Generate log of success level
$log->success('Your log success message');//Generate log of warning level
$log->warning('Your log warning message');```
## 3. Config
The config array can give in instance like :
```php
//default config
[
"enabled" => true
"folder" => "log/"
]
```