2017 © Pedro Peláez
 

library monolog-json-unicode-pretty-formatter

The extension of JsonFormatter of Monolog, which pretty prints json and supports unicode. Does not escape slashes.

image

tatocaster/monolog-json-unicode-pretty-formatter

The extension of JsonFormatter of Monolog, which pretty prints json and supports unicode. Does not escape slashes.

  • Friday, March 3, 2017
  • by tatocaster
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,481 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 33 % Grown

The README.md

JSON Unicode Pretty Print Formatter for Monolog

The extension of JsonFormatter of Monolog, which pretty prints json and supports unicode. Does not escape slashes. extended from JsonFormatter , so it is fully compatible with parent., (*1)

Requirements

Required

  • [PHP] 5.4.0+

Examples

use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Tatocaster\Monolog\Formatter\JsonPrettyUnicodePrintFormatter;

$logger = new Logger('MyLogger');
$handler = new StreamHandler('/var/log/mylogger.log', Logger::INFO);
$handler->setFormatter(new JsonPrettyUnicodePrintFormatter());
$logger->pushHandler($handler);

Installation

with composer

{
    "require": {
        "tatocaster/monolog-json-unicode-pretty-formatter": ">=1.0"
    }
}

Pull Requests are welcome

Licensed for use under the terms of the [MIT] license., (*2)

The Versions

03/03 2017

dev-master

9999999-dev

The extension of JsonFormatter of Monolog, which pretty prints json and supports unicode. Does not escape slashes.

  Sources   Download

MIT

The Requires

 

log json monolog formatter unicode pretty slashes

03/03 2017

1.0

1.0.0.0

The extension of JsonFormatter of Monolog, which pretty prints json and supports unicode. Does not escape slashes.

  Sources   Download

MIT

The Requires

 

log json monolog formatter unicode pretty slashes