[TYPO3-core] Extend Bootstrap
typo3 at kay-strobach.de
Sun Mar 24 01:49:24 CET 2013
Am 24.03.13 00:18, schrieb Steffen Müller:
> I wonder if it is possible to extend \TYPO3\CMS\Core\Core\Bootstrap
> I can't use the dependency injection from
> \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance() because the class
> ships it's own singleton static method to get an instance:
> I'd like to hook into Bootstrap->shutdown() or even__destruct() for
> writing buffered log records in one batch.
> Do you see any other useful place to do that?
you may do it, when the garbage collector destructs your loging buffer.
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
More information about the TYPO3-team-core