Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class AppEngineFlexFormatterV2.
Monolog 2.x formatter for formatting logs on App Engine flexible environment.
If you are using Monolog 1.x, use {@see} instead.
Methods
__construct
Parameters
Name
Description
format
string
[optional] The format of the message
dateFormat
string
[optional] The format of the timestamp
ignoreEmptyContextAndExtra
bool
[optional]
format
Get the plain text message with LineFormatter's format method and add
metadata including the trace id then return the json string.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]