The VarnishLog class
Introduction
(PECL varnish >= 0.6)
Class synopsis
VarnishLog {
/* Constants */
/* Methods */
public __construct ([ array $args ] )
public getLine ( ) : array
public static getTagName ( int $index ) : string}
Predefined Constants
VarnishLog::TAG_DebugVarnishLog::TAG_ErrorVarnishLog::TAG_CLIVarnishLog::TAG_StatSessVarnishLog::TAG_ReqEndVarnishLog::TAG_SessionOpenVarnishLog::TAG_SessionCloseVarnishLog::TAG_BackendOpenVarnishLog::TAG_BackendXIDVarnishLog::TAG_BackendReuseVarnishLog::TAG_BackendCloseVarnishLog::TAG_HttpGarbageVarnishLog::TAG_BackendVarnishLog::TAG_LengthVarnishLog::TAG_FetchErrorVarnishLog::TAG_RxRequestVarnishLog::TAG_RxResponseVarnishLog::TAG_RxStatusVarnishLog::TAG_RxURLVarnishLog::TAG_RxProtocolVarnishLog::TAG_RxHeaderVarnishLog::TAG_TxRequestVarnishLog::TAG_TxResponseVarnishLog::TAG_TxStatusVarnishLog::TAG_TxURLVarnishLog::TAG_TxProtocolVarnishLog::TAG_TxHeaderVarnishLog::TAG_ObjRequestVarnishLog::TAG_ObjResponseVarnishLog::TAG_ObjStatusVarnishLog::TAG_ObjURLVarnishLog::TAG_ObjProtocolVarnishLog::TAG_ObjHeaderVarnishLog::TAG_LostHeaderVarnishLog::TAG_TTLVarnishLog::TAG_Fetch_BodyVarnishLog::TAG_VCL_aclVarnishLog::TAG_VCL_callVarnishLog::TAG_VCL_traceVarnishLog::TAG_VCL_returnVarnishLog::TAG_VCL_errorVarnishLog::TAG_ReqStartVarnishLog::TAG_HitVarnishLog::TAG_HitPassVarnishLog::TAG_ExpBanVarnishLog::TAG_ExpKillVarnishLog::TAG_WorkThreadVarnishLog::TAG_ESI_xmlerrorVarnishLog::TAG_HashVarnishLog::TAG_Backend_healthVarnishLog::TAG_VCL_LogVarnishLog::TAG_Gzip
Table of Contents
- VarnishLog::__construct — Varnishlog constructor
- VarnishLog::getLine — Get next log line
- VarnishLog::getTagName — Get the log tag string representation by its index
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.varnishlog.php