Type

class \TYPO3\CMS\Core\SysLog\Type

A class defining possible logging types.

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
levelMap()  : array
toChannel()  : string
toLevel()  : string

Constants

Methods

channelMap()

public static channelMap() : array

Return values

array

levelMap()

public static levelMap() : array

Return values

array

toChannel()

public static toChannel(int $type) : string

Parameters

$type : int

Return values

string

toLevel()

public static toLevel(int $type[, int $error = Error::MESSAGE ]) : string

Parameters

$type : int
$error : int = Error::MESSAGE

see \TYPO3\CMS\Core\SysLog\Error, raises the level of the type if more severe

Return values

string
On this page