Type
A class defining possible logging types.
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
Methods
- channelMap() : array<string|int, mixed>
- levelMap() : array<string|int, mixed>
- toChannel() : string
- toLevel() : string
Constants
CACHE
    public
        mixed
    CACHE
    = 3
    
    
    
    
DB
    public
        mixed
    DB
    = 1
    
    
    
    
ERROR
    public
        mixed
    ERROR
    = 5
    
    
    
    
EXTENSION
    public
        mixed
    EXTENSION
    = 4
    
    
    
    
FILE
    public
        mixed
    FILE
    = 2
    
    
    
    
LOGIN
    public
        mixed
    LOGIN
    = 255
    
    
    
    
SETTING
    public
        mixed
    SETTING
    = 254
    
    
    
    
SITE
    public
        mixed
    SITE
    = 6
    
    
    
    
Methods
channelMap()
    public
            static        channelMap() : array<string|int, mixed>
    Return values
array<string|int, mixed>levelMap()
    public
            static        levelMap() : array<string|int, mixed>
    Return values
array<string|int, mixed>toChannel()
    public
            static        toChannel(int $type) : string
    Parameters
- $type : int
Return values
stringtoLevel()
    public
            static        toLevel(int $type) : string
    Parameters
- $type : int