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

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.

Namespace

Google \ Cloud \ Core \ Logger

Methods

static::build

Builds out an AppEngineFlexHandler for the installed version of Monolog.

Parameters
Name Description
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
Type Description
Google\Cloud\Core\Logger\AppEngineFlexHandler|Google\Cloud\Core\Logger\AppEngineFlexHandlerV2|Google\Cloud\Core\Logger\AppEngineFlexHandlerV3