Description

This class enables very simple PSR-3 compliant logging

// Screen adapter echos out log on screen $adapter = new \Vespula\Log\Adapter\Screen; $logger = new \Vespula\Log\Log($adapter);

// There are 7 log levels $logger->alert('This is an alert'); $logger->notice('This is a notice');

// Use context for replacements $context = [ 'name'=>'Joe User' ]; $logger->info('User {name} logged in', $context);

// Use the catch-all log method

$logger->log(\Psr\Log\LogLevel::CRITICAL, 'This is critical!!!');

Type hierarchy

struggle-for-php/sfp-psalm-psr-log-plugin dev-master 0.2.0
typo3/cms 6.2.31
lionsad/service_container 1.0.0-beta5
rkr/amazon-pay-sdk-php 2.x-dev
struggle-for-php/sfp-psalm-psr-log-plugin dev-master 0.2.0
lionsad/service_container 1.0.0-beta5
rkr/amazon-pay-sdk-php 2.x-dev

Class usage:

This class is not referred by any other class/interface/traits in packagist packages.