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
Show file Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Property 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.

Public Methods

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

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 method

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

getHandlers() public method

Returns the array with all registered handlers.
public getHandlers ( ) : array
return array The registered handlers

getName() public method

Returns loggers name
public getName ( ) : string
return string The loggers name

getPrimaryKey() public method

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

getProcessors() public method

Returns the array with all registered processors.
public getProcessors ( ) : array
return array The registered processors

getType() public method

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

Property Details

$channelName protected property

The loggers channel name.
protected string $channelName
return string

$handlers protected property

Array with nodes for the registered handlers.
protected array $handlers
return array

$name protected property

The loggers name.
protected string $name
return string

$processors protected property

Array with nodes for the registered processors.
protected array $processors
return array

$type protected property

The loggers class name.
protected string $type
return string