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 #1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31791

Actions #2

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31791

Actions #3

Updated by Steffen Müller over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF