Overview

Namespaces

  • None
  • RedBeanPHP
    • Adapter
    • BeanHelper
    • Cursor
    • Driver
    • Logger
      • RDefault
    • QueryWriter
    • RedException
    • Repository
    • Util

Classes

  • R
  • RedBean_SimpleModel
  • RedBeanPHP\Adapter\DBAdapter
  • RedBeanPHP\AssociationManager
  • RedBeanPHP\BeanCollection
  • RedBeanPHP\BeanHelper\SimpleFacadeBeanHelper
  • RedBeanPHP\Cursor\NullCursor
  • RedBeanPHP\Cursor\PDOCursor
  • RedBeanPHP\Driver\RPDO
  • RedBeanPHP\DuplicationManager
  • RedBeanPHP\Facade
  • RedBeanPHP\Finder
  • RedBeanPHP\Jsonable
  • RedBeanPHP\LabelMaker
  • RedBeanPHP\Logger\RDefault
  • RedBeanPHP\Logger\RDefault\Debug
  • RedBeanPHP\Observable
  • RedBeanPHP\OODB
  • RedBeanPHP\OODBBean
  • RedBeanPHP\QueryWriter\AQueryWriter
  • RedBeanPHP\QueryWriter\CUBRID
  • RedBeanPHP\QueryWriter\MySQL
  • RedBeanPHP\QueryWriter\PostgreSQL
  • RedBeanPHP\QueryWriter\SQLiteT
  • RedBeanPHP\R
  • RedBeanPHP\Repository
  • RedBeanPHP\Repository\Fluid
  • RedBeanPHP\Repository\Frozen
  • RedBeanPHP\SimpleModel
  • RedBeanPHP\SimpleModelHelper
  • RedBeanPHP\TagManager
  • RedBeanPHP\ToolBox
  • RedBeanPHP\Util\ArrayTool
  • RedBeanPHP\Util\DispenseHelper
  • RedBeanPHP\Util\Dump
  • RedBeanPHP\Util\MultiLoader
  • RedBeanPHP\Util\Transaction

Interfaces

  • RedBeanPHP\Adapter
  • RedBeanPHP\BeanHelper
  • RedBeanPHP\Cursor
  • RedBeanPHP\Driver
  • RedBeanPHP\Logger
  • RedBeanPHP\Observer
  • RedBeanPHP\Plugin
  • RedBeanPHP\QueryWriter

Exceptions

  • RedBeanPHP\RedException
  • RedBeanPHP\RedException\SQL

Functions

  • array_flatten
  • dmp
  • EID
  • genslots
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace RedBeanPHP;
 4: 
 5: /**
 6:  * RedBean Logging interface.
 7:  * Provides a uniform and convenient logging
 8:  * interface throughout RedBeanPHP.
 9:  *
10:  * @file    RedBean/Logging.php
11:  * @author  Gabor de Mooij and the RedBeanPHP Community
12:  * @license BSD/GPLv2
13:  *
14:  * @copyright
15:  * copyright (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community
16:  * This source file is subject to the BSD/GPLv2 License that is bundled
17:  * with this source code in the file license.txt.
18:  */
19: interface Logger
20: {
21:     /**
22:      * A logger (for PDO or OCI driver) needs to implement the log method.
23:      * The log method will receive logging data. Note that the number of parameters is 0, this means
24:      * all parameters are optional and the number may vary. This way the logger can be used in a very
25:      * flexible way. Sometimes the logger is used to log a simple error message and in other
26:      * situations sql and bindings are passed.
27:      * The log method should be able to accept all kinds of parameters and data by using
28:      * functions like func_num_args/func_get_args.
29:      *
30:      * @param string $message, ...
31:      * @return void
32:      */
33:     public function log();
34: }
35: 
API documentation generated by ApiGen