PHP 클래스 Phalcon\Logger\Adapter\Udplogger

상속: extends Phalcon\Logger\Adapter, implements Phalcon\Logger\AdapterInterface
파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$isTransaction boolean Flag for the transaction
$logs array Storage for holding all messages until they are ready to be sent to server.
$name string Name
$options array Adapter options
$socket resource

공개 메소드들

메소드 설명
__construct ( string $name = 'phalcon', array $options = [] ) Class constructor.
begin ( )
close ( ) : boolean
commit ( )
getFormatter ( ) : Phalcon\Logger\FormatterInterface
logInternal ( string $message, integer $type, integer $time, array $context = [] ) Writes the log.

보호된 메소드들

메소드 설명
send ( )

메소드 상세

__construct() 공개 메소드

Class constructor.
public __construct ( string $name = 'phalcon', array $options = [] )
$name string
$options array

begin() 공개 메소드

public begin ( )

close() 공개 메소드

public close ( ) : boolean
리턴 boolean

commit() 공개 메소드

public commit ( )

getFormatter() 공개 메소드

public getFormatter ( ) : Phalcon\Logger\FormatterInterface
리턴 Phalcon\Logger\FormatterInterface

logInternal() 공개 메소드

Writes the log.
public logInternal ( string $message, integer $type, integer $time, array $context = [] )
$message string
$type integer
$time integer
$context array

send() 보호된 메소드

protected send ( )

프로퍼티 상세

$isTransaction 보호되어 있는 프로퍼티

Flag for the transaction
protected bool $isTransaction
리턴 boolean

$logs 보호되어 있는 프로퍼티

Storage for holding all messages until they are ready to be sent to server.
protected array $logs
리턴 array

$name 보호되어 있는 프로퍼티

Name
protected string $name
리턴 string

$options 보호되어 있는 프로퍼티

Adapter options
protected array $options
리턴 array

$socket 보호되어 있는 프로퍼티

protected resource $socket
리턴 resource