PHP Classes

File: docs/files/Stream/Strategy/StreamLoggerStrategyInterface.php.txt

Recommend this page to a friend!
  Classes of Kiril Savchev   ITE Logger   docs/files/Stream/Strategy/StreamLoggerStrategyInterface.php.txt   Download  
File: docs/files/Stream/Strategy/StreamLoggerStrategyInterface.php.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: ITE Logger
Log messages to different storage PSR-3 compliant
Author: By
Last change:
Date: 7 years ago
Size: 954 bytes
 

Contents

Class file image Download
<?php /** * StreamLoggerStrategyInterface file * * Copyright (c) 2016, Kiril Savchev * All rights reserved. * * @category Libs * @package Logger * * @author Kiril Savchev <k.savchev@gmail.com> * * @license https://opensource.org/licenses/BSD-3-Clause BSD 3 License * @link http://ifthenelse.info */ namespace Ite\Logger\Stream\Strategy; use Psr\Log\LoggerInterface; /** * StreamLoggerStrategyInterface * * Defines the behaviour of all stream strategies * * @uses psr\log * * @version 1.0 * * @author Kiril Savchev <k.savchev@gmail.com> */ interface StreamLoggerStrategyInterface { /** * Prepare the logger before using * * @param LoggerInterface $logger * @param array $options * @throw \Ite\Logger\Exception\InvalidArgumentException If logger is not the desired class instance */ public function prepareLogger(LoggerInterface $logger, array $options); }