PHPackages                             leoshtika/logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. leoshtika/logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

leoshtika/logger
================

The simplest PHP Logger class

v1.0.2(11y ago)11932MITPHPPHP &gt;=5.3.0

Since Sep 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/leoshtika/logger)[ Packagist](https://packagist.org/packages/leoshtika/logger)[ RSS](/packages/leoshtika-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (2)

A simple PHP Logger class
-------------------------

[](#a-simple-php-logger-class)

When using this library for the first time, it will create a "logfiles" folder in the root of your project, where all your log files will be placed, in different files for each month.

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](http://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/41bb6e9ef2f7fdc1dfea1e434b39170324738e04cb1f40f659564f21292cb7d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d646f776e6c6f61642d6f72616e67652e737667)](https://packagist.org/packages/leoshtika/logger)

Requirements
------------

[](#requirements)

- PHP 5.3 or higher

Installation
------------

[](#installation)

You can use one of these 3 installation methods

#### 1) Using Composer (recommended)

[](#1-using-composer-recommended)

- Using Composer from the command line

```
composer require leoshtika/logger:~1.0

```

- Or using Composer with composer.json file

```
{
    "require": {
        "leoshtika/logger": "~1.0"
    }
}

```

#### 2) Clone it from Github

[](#2-clone-it-from-github)

```
git clone https://github.com/leoshtika/logger.git

```

#### 3) Download it from Github

[](#3-download-it-from-github)

Usage
-----

[](#usage)

#### Using Composer

[](#using-composer)

If you are using composer require the 'vendor/autoload.php' file

```
