opxcore/log-null

The OpxCore null logger.

1.0.0 2020-12-24 12:52 UTC

This package is auto-updated.

Last update: 2024-04-24 19:48:20 UTC


README

Latest Stable Version Total Downloads License

Introduction

Null logger is a PSR-3 compatible logger what can be used as implementation of LoggerInterface but does nothing.

Installing

composer require opxcore/log-null

Using

All you need is create logger instance and log your messages.

$logger = new \OpxCore\Log\LogNull();

// That does nothing
$logger->info('Hello world!');