LogListener implements EventSubscriberInterface
ログ出力リスナー
Table of Contents
$logger | Logger | |
---|---|---|
__construct() | mixed | |
getSubscribedEvents() | {@inheritdoc} | mixed |
onKernelRequestEarly() | mixed | |
onKernelRequest() | mixed | |
getRoute() | ルーティング名を取得する. | string |
onKernelController() | mixed | |
onKernelResponse() | mixed | |
onKernelTerminate() | mixed | |
onKernelException() | mixed |
Properties
$logger
protected
Logger
$logger
Methods
__construct()
public
__construct(
$logger :
Logger
)
: mixed
Parameters
- $logger : Logger
Return values
mixedgetSubscribedEvents()
{@inheritdoc}
public
static getSubscribedEvents(
)
: mixed
Return values
mixedonKernelRequestEarly()
public
onKernelRequestEarly(
$event :
GetResponseEvent
)
: mixed
Parameters
- $event : GetResponseEvent
Return values
mixedonKernelRequest()
public
onKernelRequest(
$event :
GetResponseEvent
)
: mixed
Parameters
- $event : GetResponseEvent
Return values
mixedgetRoute()
ルーティング名を取得する.
private
getRoute(
$request :
)
: string
Parameters
Return values
stringonKernelController()
public
onKernelController(
$event :
FilterControllerEvent
)
: mixed
Parameters
- $event : FilterControllerEvent
Return values
mixedonKernelResponse()
public
onKernelResponse(
$event :
FilterResponseEvent
)
: mixed
Parameters
- $event : FilterResponseEvent
Return values
mixedonKernelTerminate()
public
onKernelTerminate(
$event :
PostResponseEvent
)
: mixed
Parameters
- $event : PostResponseEvent
Return values
mixedonKernelException()
public
onKernelException(
$event :
GetResponseForExceptionEvent
)
: mixed
Parameters
- $event : GetResponseForExceptionEvent