Type

A class defining possible logging types.

Internal

The logging type system is moving towards PSR-3-defined log levels and channels, this class might get removed without any further notice from TYPO3 v12.0. on.

Table of Contents

Constants

CACHE  = 3
DB  = 1
ERROR  = 5
EXTENSION  = 4
FILE  = 2
LOGIN  = 255
SETTING  = 254
SITE  = 6

Methods

channelMap()  : array<string|int, mixed>
levelMap()  : array<string|int, mixed>
toChannel()  : string
toLevel()  : string

Constants

Methods

channelMap()

public static channelMap() : array<string|int, mixed>
Internal
Return values
array<string|int, mixed>

levelMap()

public static levelMap() : array<string|int, mixed>
Internal
Return values
array<string|int, mixed>

toChannel()

public static toChannel(int $type) : string
Parameters
$type : int
Return values
string

toLevel()

public static toLevel(int $type) : string
Parameters
$type : int
Return values
string

        
On this page

Search results