Created
April 18, 2014 04:18
-
-
Save anaxamaxan/11024637 to your computer and use it in GitHub Desktop.
app/services/Log/Logger.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace Sa\Services\Log; | |
class Logger extends \Monolog\Logger | |
{ | |
/** | |
* @param string $name The logging channel | |
* @param \Monolog\Handler\HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. | |
* @param callable[] $processors Optional array of processors | |
*/ | |
public function __construct($name, array $handlers = array(), array $processors = array()) | |
{ | |
parent::__construct($name, $handlers, $processors); | |
static::$timezone = new \DateTimeZone('America/Los_Angeles'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment