PHPackages                             instapage/php-logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. instapage/php-logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

instapage/php-logger
====================

A library for standardized logs &amp; metric format, based on monolog/monolog.

1.5.2(8mo ago)21.1k2[1 PRs](https://github.com/Instapage/php-logger/pulls)proprietaryPHPPHP &gt;=7.3CI passing

Since Feb 24Pushed 8mo ago7 watchersCompare

[ Source](https://github.com/Instapage/php-logger)[ Packagist](https://packagist.org/packages/instapage/php-logger)[ RSS](/packages/instapage-php-logger/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (6)Versions (9)Used By (0)

instapage/php-logger - PHP logger &amp; metrics
===============================================

[](#instapagephp-logger---php-logger--metrics)

[![CI](https://github.com/Instapage/php-logger/actions/workflows/ci.yml/badge.svg)](https://github.com/Instapage/php-logger/actions/workflows/ci.yml)

A library for standardized logs &amp; metric format, based on [`monolog/monolog`](https://packagist.org/packages/monolog/monolog).

Installation
------------

[](#installation)

Add this to `require` section:

```
"instapage/php-logger": "1.5.1"
```

Alternatively, you can type `composer require instapage/php-logger:1.5.1`.

Examples
--------

[](#examples)

Then add following code in your application:

```
