evaisse/monolog-geoip-processor

A GeoIP decorator/processor for monolog

v1.0.0 2016-03-08 19:14 UTC

This package is auto-updated.

Last update: 2024-11-12 04:28:00 UTC


README

A GeoIP processor for your monolog' logs, the processor will append the following values from $_SERVER (or configured source)

extra.geo_city = 'Roubaix'
extra.geo_country = 'FR'
extra.geo_point = [ // geojson point format
    50.6887078, // longitude
    3.1492011 // latitude
]