2017 © Pedro Peláez
 

library logger

A static PSR-3 logger wrapped around the super cool monolog.

image

ntentan/logger

A static PSR-3 logger wrapped around the super cool monolog.

  • Sunday, December 21, 2014
  • by ekowabaka
  • Repository
  • 2 Watchers
  • 1 Stars
  • 734 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Ntentan Logger

A static logger wrapped around the super awesome monolog logging framework. The whole idea behind the wrapper is to minimize the setup code and expose logging settings. By that approach applications can use external configuration files to configure the logging backend (this is however yet to be implemented). The ntentan logger class tries to be compatible with the interfaces defined in the PSR-3 specification., (*1)

Installation

You can install Logger through composer since its available on packagist (ntentan/logger)., (*2)

Example

To use the ntentan logger., (*3)

<?php

use ntentan\logger\Logger;

// Initialize the logger
Logger::init("/path/to/log/file.log");

// Write some logs
Logger::log(Logger::DEBUG, "Hello!");
Logger::warning("World!");

The Versions

21/12 2014

dev-master

9999999-dev

A static PSR-3 logger wrapped around the super cool monolog.

  Sources   Download

MIT

The Requires

 

The Development Requires

21/12 2014

v0.1.1

0.1.1.0

A static PSR-3 logger wrapped around the super cool monolog.

  Sources   Download

MIT

The Requires

 

The Development Requires

18/12 2014

v0.1.0

0.1.0.0

A static PSR-3 logger wrapped around the super cool monolog.

  Sources   Download

MIT

The Requires

 

The Development Requires