Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

LogentriesCommunity/logentries-monolog-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logentries-monolog-handler Build Status

This plug in will no longer be officially supported or maintained by Logentries.

Current Version: 2.1

Installation

Add the following to your composer.json and run composer update

{
    "require": {
        "logentries/logentries-monolog-handler": "dev-master"
    }
}

Usage

$monolog->pushHandler(new Logentries\Handler\LogentriesHandler('YOUR_TOKEN'));

Full example

$monolog = new Logger('TestLog');
$monolog->pushHandler(new LogentriesHandler('YOUR_TOKEN'));
$monolog->addWarning('This is a warning logging message');

Links

logentries.com