1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 15:14:14 +02:00

3 Commits

Author SHA1 Message Date
Markus Staab
7ca003e6ae Rename TestCase to MonologTestCase (#1953) 2025-03-16 13:30:20 +01:00
Luís Cobucci
69bd3637ba Fix date/time field for GCP logging (#1759)
We introduced the formatter using the incorrect field, which was making
GCP not to extract the correct value from the payload.

This uses the field that actually maps to the expected format.

More info: https://cloud.google.com/logging/docs/structured-logging
2023-02-04 15:39:20 +01:00
Luís Cobucci
1ae4f609ba Add basic support to Google Cloud Logging format (#1690)
Google Cloud Logging doesn't show the correct level log when using
JsonFormatter, making observability a bit trickier. This applies minor
tweaks to the default format, allowing log entries to be properly
represented.

There are alternative packages to this but they add fields that aren't
strictly required - also performing `debug_backtrace()` calls that are
usually not desired when in production mode.

Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
2022-07-22 13:03:58 +02:00