PHPackages                             rawphp/raw-log - 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. rawphp/raw-log

ActiveLibrary

rawphp/raw-log
==============

RawLog is a wrapper around Monolog and is used by RawPHP framework and other applications.

0232[1 issues](https://github.com/rawphp/RawLog/issues)PHP

Since Dec 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawLog)[ Packagist](https://packagist.org/packages/rawphp/raw-log)[ RSS](/packages/rawphp-raw-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RawLog - A Simple Log Wrapper for Monolog
=========================================

[](#rawlog---a-simple-log-wrapper-for-monolog)

[![Build Status](https://camo.githubusercontent.com/653c4ee2276520d0bd905a82638bc2ac4fa9d7634af34b6dbf1aa733bb361a3c/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f5261774c6f672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawLog) [![Coverage Status](https://camo.githubusercontent.com/168643b059ca89b9e23ced94f71ea288b7c74d0d46d738a8555682401225d385/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f5261774c6f672f62616467652e706e67)](https://coveralls.io/r/rawphp/RawLog)[![Latest Stable Version](https://camo.githubusercontent.com/1e60bc3adc43468b55d37d094e869a9c4a5ce8eb1b8c8a9364257f1378844bfe/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6c6f672f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-log) [![Total Downloads](https://camo.githubusercontent.com/eef09f844d4c5e92ea4459da382e45c424b20278a688f40b8a32fe0581c93dc4/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6c6f672f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-log)[![Latest Unstable Version](https://camo.githubusercontent.com/5b5a615c1a5d77a6db21ccea9e0e1cadeb8a719b19e700da1b8dcbc07ea25ebe/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6c6f672f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-log) [![License](https://camo.githubusercontent.com/d725ff09693bc85df13b3f3743c1e6edf6ea2a550dc06109177b9034c5b7e8dc/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d6c6f672f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-log)

[![SensioLabsInsight](https://camo.githubusercontent.com/ac5bdfb2c214f2450671740786b990ffec5518a7d611892b17cd5fdf0222eb11/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36386162303764342d663462612d343461362d383030332d3433343437373834363366322f6269672e706e67)](https://insight.sensiolabs.com/projects/68ab07d4-f4ba-44a6-8003-4344778463f2)

Package Features
----------------

[](#package-features)

- Supports logging to single file or rotating files, one for each day
- Supports sending emails (with SMTP if desired)

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

[](#installation)

### Composer

[](#composer)

RawLog is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-log).

Add `"rawphp/raw-log": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-log": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-log "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawLog folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

```
