Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/"
]
```