LoggerHandler

A handler which logs request information to the Vert.x logger.

package

Default

Methods

__construct

__construct() 

Create a handler with default format

create( $arg0 = null,  $arg1 = null) : \io\vertx\jphp\ext\web\handler\LoggerHandler
static

create()

Create a handler with he specified format

param $format [string] the format create($format)

Create a handler with he specified format

param $immediate [boolean] true if logging should occur as soon as request arrives param $format [string] the format create($immediate, $format)

Arguments

$arg0

boolean | string

$arg1

string

Response

\io\vertx\jphp\ext\web\handler\LoggerHandler

the handler

Something has happened, so handle it.

handle( $arg0) : void

Arguments

$arg0

RoutingContext

Constants

DEFAULT_FORMAT

DEFAULT_FORMAT
var

php文件只是为了写代码方便,常量的实际值请参考原java文件