Project

General

Profile

Actions

Feature #60551

closed

Add LogManagerInterface

Added by Steffen Müller over 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Logging
Target version:
Start date:
2014-07-25
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When logging with the Core Logging API, one has to use \TYPO3\CMS\Core\Log\LogManager->getLogger() to get an instance of a logger.

Adding an interface \TYPO3\CMS\Core\Log\LogManagerInterface will enable you to ship an alternative 3rd party LogManager instance. Given the LogManager is added to a class using dependency injection, this would make it possible to use Monolog for logging without touching any class.

Actions

Also available in: Atom PDF