Skip to content

TerranetMD/zf-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Zend_Log useful Writers & Formatters

Requirements

  • \Zend_Log (ZF1)

Usage

$writer = new \Terranet\Log\Writer\Growl("App", array(
    'address' => "127.0.0.1",
    'port'    => 9887,
    'password'=> "%password%"
));
$writer->setFormatter(new \Terranet\Log\Formatter\Growl());

$logger = new Zend_Log($writer);
$logger->log("Debug message", Zend_Log::DEBUG);

Installation

Via Composer

add a following line (root-only) into your composer.json

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/TerranetMD/log.git"
    }
]

"require" : {
    "TerranetMD/log" : "dev-master"
}

run

composer update
Via GitHub
git clone https://github.com/TerranetMD/log.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages