PHP Class AppserverIo\Appserver\Core\Api\Node\LoggerNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\LoggerNodeInterface, use trait ParamsNodeTrait
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$channelName string The loggers channel name.
$handlers array Array with nodes for the registered handlers.
$name string The loggers name.
$processors array Array with nodes for the registered processors.
$type string The loggers class name.

Méthodes publiques

Méthode Description
__construct ( string $name = '', string $type = '', string $channelName = '', array $processors = [], array $handlers = [], array $params = [] ) Initializes the node with default values.
getChannelName ( ) : string Returns information about the system loggers channel name.
getHandlers ( ) : array Returns the array with all registered handlers.
getName ( ) : string Returns loggers name
getPrimaryKey ( ) : string Returns the nodes primary key, the name by default.
getProcessors ( ) : array Returns the array with all registered processors.
getType ( ) : string Returns information about the system loggers class name.

Method Details

__construct() public méthode

Initializes the node with default values.
public __construct ( string $name = '', string $type = '', string $channelName = '', array $processors = [], array $handlers = [], array $params = [] )
$name string The loggers name
$type string The loggers class name
$channelName string The loggers channel name
$processors array The array with nodes for the registered processors
$handlers array The array with nodes for the registered handlers
$params array The handler params

getChannelName() public méthode

Returns information about the system loggers channel name.
public getChannelName ( ) : string
Résultat string The system loggers channel name

getHandlers() public méthode

Returns the array with all registered handlers.
public getHandlers ( ) : array
Résultat array The registered handlers

getName() public méthode

Returns loggers name
public getName ( ) : string
Résultat string The loggers name

getPrimaryKey() public méthode

Returns the nodes primary key, the name by default.
See also: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
Résultat string The nodes primary key

getProcessors() public méthode

Returns the array with all registered processors.
public getProcessors ( ) : array
Résultat array The registered processors

getType() public méthode

Returns information about the system loggers class name.
public getType ( ) : string
Résultat string The system loggers class name

Property Details

$channelName protected_oe property

The loggers channel name.
protected string $channelName
Résultat string

$handlers protected_oe property

Array with nodes for the registered handlers.
protected array $handlers
Résultat array

$name protected_oe property

The loggers name.
protected string $name
Résultat string

$processors protected_oe property

Array with nodes for the registered processors.
protected array $processors
Résultat array

$type protected_oe property

The loggers class name.
protected string $type
Résultat string