2017 © Pedro Peláez
 

library log-stock

Static Logger Manager

image

che/log-stock

Static Logger Manager

  • Sunday, October 13, 2013
  • by chebba
  • Repository
  • 1 Watchers
  • 3 Stars
  • 42,234 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

LogStock - Static Logger Manager Build Status

Logging functionality is required in all classes, so it is one of situations where static code is a good choice. Now you can create more logs with your preferred logging library., (*1)

Installation

Composer package is available., (*2)

Or just clone the repository (or download versions by tags) and include the library with PSR-0 autoloader., (*3)

Usage

namespace Acme\Foo;

use Che\LogStock\LoggerManager;

class Bar
{
    private $logger;

    public function __construct()
    {
        $this->logger = LoggerManager::getLogger(__CLASS__);
    }

    public function doSomething($param)
    {
        $this->logger->info('Do something.', array('param' => $param));
        //...
    }
}

Integration

Author

Kirill chEbba Chebunin iam@chebba.org., (*4)

License

LogStock is subject to the MIT license that is bundled with this package in the file LICENSE., (*5)

The Versions

13/10 2013

dev-master

9999999-dev http://github.com/chEbba/LogStock

Static Logger Manager

  Sources   Download

MIT

The Requires

 

The Development Requires

logger log logging class static

13/10 2013

1.0.x-dev

1.0.9999999.9999999-dev http://github.com/chEbba/LogStock

Static Logger Factory

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

logger log logging

05/01 2013

1.0.0

1.0.0.0 http://github.com/chEbba/LogStock

Static Logger Factory

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

logger log logging

10/03 2012

1.0.0-RC1

1.0.0.0-RC1 http://github.com/chEbba/LogStock

Static Logger Factory

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

logger log logging

05/03 2012

1.0.0-beta1

1.0.0.0-beta1 http://github.com/chEbba/LogStock

Static Logger Factory

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

logger log logging