Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class AppEngineFlexHandlerFactory (1.50.0)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class AppEngineFlexHandlerFactory.

Factory to build out an AppEngineFlexHandler for the installed version of Monolog.

Methods

build

Builds out an AppEngineFlexHandler for the installed version of Monolog.

Parameters
NameDescription
level int

[optional] The minimum logging level at which this handler will be triggered.

bubble bool

[optional] Whether the messages that are handled can bubble up the stack or not.

filePermission int|null

[optional] Optional file permissions (default (0640) are only for owner read/write).

useLocking bool

[optional] Try to lock log file before doing any writes.

stream resource|string|null

[optional]

Returns
TypeDescription
Google\Cloud\Core\Logger\AppEngineFlexHandler|Google\Cloud\Core\Logger\AppEngineFlexHandlerV2|Google\Cloud\Core\Logger\AppEngineFlexHandlerV3