PHP Класс AppserverIo\Appserver\Core\Api\Node\LoggerNode

Автор: Johann Zelger ([email protected])
Наследование: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\LoggerNodeInterface, use trait ParamsNodeTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Returns information about the system loggers channel name.
public getChannelName ( ) : string
Результат string The system loggers channel name

getHandlers() публичный Метод

Returns the array with all registered handlers.
public getHandlers ( ) : array
Результат array The registered handlers

getName() публичный Метод

Returns loggers name
public getName ( ) : string
Результат string The loggers name

getPrimaryKey() публичный Метод

Returns the nodes primary key, the name by default.
См. также: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
Результат string The nodes primary key

getProcessors() публичный Метод

Returns the array with all registered processors.
public getProcessors ( ) : array
Результат array The registered processors

getType() публичный Метод

Returns information about the system loggers class name.
public getType ( ) : string
Результат string The system loggers class name

Описание свойств

$channelName защищенное свойство

The loggers channel name.
protected string $channelName
Результат string

$handlers защищенное свойство

Array with nodes for the registered handlers.
protected array $handlers
Результат array

$name защищенное свойство

The loggers name.
protected string $name
Результат string

$processors защищенное свойство

Array with nodes for the registered processors.
protected array $processors
Результат array

$type защищенное свойство

The loggers class name.
protected string $type
Результат string