Plop
A simple logging library for PHP
Plop\LoggerAbstract Class Reference

An abstract class that can be used as a base to create new loggers. More...

+ Inheritance diagram for Plop\LoggerAbstract:

Public Member Functions

 alert ($msg, array $args=array(),\Exception $exception=null)
 
 critical ($msg, array $args=array(),\Exception $exception=null)
 
 debug ($msg, array $args=array(),\Exception $exception=null)
 
 emergency ($msg, array $args=array(),\Exception $exception=null)
 
 error ($msg, array $args=array(),\Exception $exception=null)
 
 exception ($msg,\Exception $exception, array $args=array())
 
 info ($msg, array $args=array(),\Exception $exception=null)
 
 notice ($msg, array $args=array(),\Exception $exception=null)
 
 warn ($msg, array $args=array(),\Exception $exception=null)
 
 warning ($msg, array $args=array(),\Exception $exception=null)
 
- Public Member Functions inherited from Plop\LoggerInterface
 getClass ()
 
 getFilters ()
 
 getHandlers ()
 
 getLevel ()
 
 getMethod ()
 
 getNamespace ()
 
 getRecordFactory ()
 
 isEnabledFor ($level)
 
 log ($level, $msg, array $args=array(),\Exception $exception=null)
 
 setFilters (\Plop\FiltersCollectionAbstract $filters)
 
 setHandlers (\Plop\HandlersCollectionAbstract $handlers)
 
 setLevel ($level)
 
 setRecordFactory (\Plop\RecordFactoryInterface $factory)
 

Detailed Description

An abstract class that can be used as a base to create new loggers.

Definition at line 28 of file LoggerAbstract.php.

Member Function Documentation

Plop\LoggerAbstract::alert (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 94 of file LoggerAbstract.php.

Plop\LoggerAbstract::critical (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 85 of file LoggerAbstract.php.

Plop\LoggerAbstract::debug (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 31 of file LoggerAbstract.php.

Plop\LoggerAbstract::emergency (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 103 of file LoggerAbstract.php.

Plop\LoggerAbstract::error (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 76 of file LoggerAbstract.php.

Plop\LoggerAbstract::exception (   $msg,
\Exception  $exception,
array  $args = array() 
)

Implements Plop\LoggerInterface.

Definition at line 112 of file LoggerAbstract.php.

Plop\LoggerAbstract::info (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 40 of file LoggerAbstract.php.

Plop\LoggerAbstract::notice (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 49 of file LoggerAbstract.php.

Plop\LoggerAbstract::warn (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 67 of file LoggerAbstract.php.

Plop\LoggerAbstract::warning (   $msg,
array  $args = array(),
\Exception  $exception = null 
)

Implements Plop\LoggerInterface.

Definition at line 58 of file LoggerAbstract.php.


The documentation for this class was generated from the following file: