Suggestion #36223

Use bitmask values for LogLevel constants

Added by Steffen Müller about 1 year ago.

Status:New Start date:2012-04-17
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Logging API Spent time: -
Target version:-
TYPO3 Version:
Votes: 0

Description

Keep our own definitions of severity, but use bitmask numbers like in http://www.php.net/manual/en/errorfunc.constants.php

  • Would allow us to use the bitwise operators
  • Could be that we gain some microseconds in speed.

(idea from T3DD12 workshop)

Also available in: Atom PDF