PHP Class Neos\Flow\Log\Backend\AnsiConsoleBackend

Inheritance: extends ConsoleBackend
显示文件 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$disableAnsi boolean
$tagFormats array

Public Methods

Method 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 )

Protected Methods

Method Description
formatOutput ( string $output ) : string Apply ansi formatting to output according to tags

Method Details

append() public method

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
return void

formatOutput() protected method

Apply ansi formatting to output according to tags
protected formatOutput ( string $output ) : string
$output string
return string

getDisableAnsi() public method

public getDisableAnsi ( ) : boolean
return boolean

open() public method

Initializes tag formats.
public open ( ) : void
return void

setDisableAnsi() public method

public setDisableAnsi ( boolean $disableAnsi )
$disableAnsi boolean

Property Details

$disableAnsi protected_oe property

protected bool $disableAnsi
return boolean

$tagFormats protected_oe property

protected array $tagFormats
return array