PHP Интерфейс AppserverIo\Appserver\Core\Api\Node\LoggerNodeInterface

Автор: Johann Zelger ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getChannelName ( ) : string Returns information about the system loggers channel name.
getHandlers ( ) : array Returns the array with all registered handlers.
getName ( ) : string Returns loggers name
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParams ( ) : array Array with the handler params to use.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
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.
setParam ( string $name, string $type, mixed $value ) : void Sets the param with the passed name, type and value.
setParams ( array $params ) : void Array with the handler params to use.

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

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

getParam() публичный метод

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
Результат mixed The requested param casted to the specified type

getParams() публичный метод

Array with the handler params to use.
public getParams ( ) : array
Результат array

getParamsAsArray() публичный метод

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
Результат array The array with the casted params

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

setParam() публичный метод

Sets the param with the passed name, type and value.
public setParam ( string $name, string $type, mixed $value ) : void
$name string The param name
$type string The param type
$value mixed The param value
Результат void

setParams() публичный метод

Array with the handler params to use.
public setParams ( array $params ) : void
$params array The handler params
Результат void