PHP Class Neos\Flow\Log\Backend\AnsiConsoleBackend

Inheritance: extends ConsoleBackend
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$disableAnsi boolean
$tagFormats array

Méthodes publiques

Méthode Description
append ( string $message, integer $severity = LOG_INFO, array $additionalData = null, string $packageKey = null, string $className = null, string $methodName = null ) : void Appends the given message along with the additional information into the log.
getDisableAnsi ( ) : boolean
open ( ) : void Open the log backend
setDisableAnsi ( boolean $disableAnsi )

Méthodes protégées

Méthode Description
formatOutput ( string $output ) : string Apply ansi formatting to output according to tags

Method Details

append() public méthode

Appends the given message along with the additional information into the log.
public append ( string $message, integer $severity = LOG_INFO, array $additionalData = null, string $packageKey = null, string $className = null, string $methodName = null ) : void
$message string
$severity integer
$additionalData array
$packageKey string
$className string
$methodName string
Résultat void

formatOutput() protected méthode

Apply ansi formatting to output according to tags
protected formatOutput ( string $output ) : string
$output string
Résultat string

getDisableAnsi() public méthode

public getDisableAnsi ( ) : boolean
Résultat boolean

open() public méthode

Initializes tag formats.
public open ( ) : void
Résultat void

setDisableAnsi() public méthode

public setDisableAnsi ( boolean $disableAnsi )
$disableAnsi boolean

Property Details

$disableAnsi protected_oe property

protected bool $disableAnsi
Résultat boolean

$tagFormats protected_oe property

protected array $tagFormats
Résultat array