PHPackages                             noflash/shout - 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. noflash/shout

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

noflash/shout
=============

Simple yet powerful logging library with rotation support.

v1.0.0(11y ago)6275MITPHPPHP &gt;=5.3.0

Since Feb 8Pushed 5y ago2 watchersCompare

[ Source](https://github.com/kiler129/Shout)[ Packagist](https://packagist.org/packages/noflash/shout)[ Docs](http://github.com/kiler129/Shout)[ RSS](/packages/noflash-shout/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (1)Used By (0)

PROJECT ARCHIVED
================

[](#project-archived)

The code should still work. However, this project is no longer maintained. Use [Symfony Logger](https://symfony.com/doc/current/logging.html) or [Monolog](https://github.com/Seldaek/monolog) instead.

---

Shout! [![Build Status](https://camo.githubusercontent.com/af2637efd3a6e5cbad0b22ef77085f9403ce382bc12a0b52505ebaf4a5bf2eb3/68747470733a2f2f7472617669732d63692e6f72672f6b696c65723132392f53686f75742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kiler129/Shout)
================================================================================================================================================================================================================================================================================

[](#shout-)

Small, fast and PSR-3 compliant logging library. Yes, it was created to blame you for every failure (which may not even be yours).

### Features

[](#features)

- Logging to any files/streams (including php://stdout)
- Customizable line format
- [RFC 5424](http://tools.ietf.org/html/rfc5424) &amp; user defined log levels
- Limiting logging to maximum level

### Requirements

[](#requirements)

- PHP &gt;=5.3
- [PSR-3 interfaces](https://github.com/php-fig/log)

### Installation

[](#installation)

#### Using composer

[](#using-composer)

Composer is recommended method of installation due to it's simplicity and automatic dependencies management.

1. You need composer of course - [installation takes less than a minute](https://getcomposer.org/download/)
2. Run `php composer.phar require noflash/shout` in your favourite terminal to install Shout with dependencies
3. Include `vendor/autoload.php` in your application source code

#### Manual

[](#manual)

Details will be available soon.
*Basically you need to download [PSR-3 interfaces](https://github.com/php-fig/log), put them in directory (eg. vendor) and include all files (or use PSR-4 compliant autoloader).*

### Usage

[](#usage)

Most of the time you will use Shout with other libraries requiring [PSR-3](http://www.php-fig.org/psr/psr-3/) logger. Configuring logger to use with other project isn't different than using it in your own project. Basic usage requires few lines:

```
