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  : mixed = 3
DB  : mixed = 1
ERROR  : mixed = 5
EXTENSION  : mixed = 4
FILE  : mixed = 2
LOGIN  : mixed = 255
SETTING  : mixed = 254
SITE  : mixed = 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